ceph: display pgid in debugfs osd request dump

Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
Sage Weil
2010-01-08 15:58:25 -08:00
parent 103e2d3ae5
commit 7740a42f81
3 changed files with 7 additions and 2 deletions

View File

@@ -538,6 +538,8 @@ static int __map_osds(struct ceph_osd_client *osdc,
if (err)
return err;
pgid = reqhead->layout.ol_pgid;
req->r_pgid = pgid;
o = ceph_calc_pg_primary(osdc->osdmap, pgid);
if ((req->r_osd && req->r_osd->o_osd == o &&