diff options
author | Sage Weil <sage@newdream.net> | 2010-01-08 15:58:25 -0800 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-01-14 12:23:39 -0800 |
commit | 7740a42f816790583bd8a9079337772d511af3a3 (patch) | |
tree | fffc12ba1ab1e60da8c13dba7fef5d0024278ca5 /fs/ceph/debugfs.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/debugfs.c')
-rw-r--r-- | fs/ceph/debugfs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/ceph/debugfs.c b/fs/ceph/debugfs.c index 22d3b47fb1b..fba44b2a608 100644 --- a/fs/ceph/debugfs.c +++ b/fs/ceph/debugfs.c @@ -231,8 +231,10 @@ static int osdc_show(struct seq_file *s, void *pp) req = rb_entry(p, struct ceph_osd_request, r_node); - seq_printf(s, "%lld\tosd%d\t", req->r_tid, - req->r_osd ? req->r_osd->o_osd : -1); + seq_printf(s, "%lld\tosd%d\t%d.%x\t", req->r_tid, + req->r_osd ? req->r_osd->o_osd : -1, + le32_to_cpu(req->r_pgid.pool), + le16_to_cpu(req->r_pgid.ps)); head = req->r_request->front.iov_base; op = (void *)(head + 1); |