diff options
author | Sage Weil <sage@newdream.net> | 2010-01-08 18:58:25 -0500 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-01-14 15:23:39 -0500 |
commit | 7740a42f816790583bd8a9079337772d511af3a3 (patch) | |
tree | fffc12ba1ab1e60da8c13dba7fef5d0024278ca5 /fs/ceph/osd_client.c | |
parent | 103e2d3ae57d38d18aaac1b327266c1407499ac1 (diff) |
ceph: display pgid in debugfs osd request dump
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/osd_client.c')
-rw-r--r-- | fs/ceph/osd_client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/osd_client.c b/fs/ceph/osd_client.c index 80b868f7a0fc..8417e21a3cb2 100644 --- a/fs/ceph/osd_client.c +++ b/fs/ceph/osd_client.c | |||
@@ -538,6 +538,8 @@ static int __map_osds(struct ceph_osd_client *osdc, | |||
538 | if (err) | 538 | if (err) |
539 | return err; | 539 | return err; |
540 | pgid = reqhead->layout.ol_pgid; | 540 | pgid = reqhead->layout.ol_pgid; |
541 | req->r_pgid = pgid; | ||
542 | |||
541 | o = ceph_calc_pg_primary(osdc->osdmap, pgid); | 543 | o = ceph_calc_pg_primary(osdc->osdmap, pgid); |
542 | 544 | ||
543 | if ((req->r_osd && req->r_osd->o_osd == o && | 545 | if ((req->r_osd && req->r_osd->o_osd == o && |