projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23cd573
)
libceph: recognize poolop requests in debugfs
author
Ilya Dryomov
<ilya.dryomov@inktank.com>
Mon, 12 May 2014 09:05:47 +0000
(13:05 +0400)
committer
Yan, Zheng
<zheng.z.yan@intel.com>
Fri, 6 Jun 2014 01:29:56 +0000
(09:29 +0800)
Recognize poolop requests in debugfs monc dump, fix prink format
specifiers - tid is unsigned.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
net/ceph/debugfs.c
patch
|
blob
|
history
diff --git
a/net/ceph/debugfs.c
b/net/ceph/debugfs.c
index
10421a4
..
8903dce
100644
(file)
--- a/
net/ceph/debugfs.c
+++ b/
net/ceph/debugfs.c
@@
-126,9
+126,11
@@
static int monc_show(struct seq_file *s, void *p)
req = rb_entry(rp, struct ceph_mon_generic_request, node);
op = le16_to_cpu(req->request->hdr.type);
if (op == CEPH_MSG_STATFS)
- seq_printf(s, "%lld statfs\n", req->tid);
+ seq_printf(s, "%llu statfs\n", req->tid);
+ else if (op == CEPH_MSG_POOLOP)
+ seq_printf(s, "%llu poolop\n", req->tid);
else
- seq_printf(s, "%ll
d
unknown\n", req->tid);
+ seq_printf(s, "%ll
u
unknown\n", req->tid);
}
mutex_unlock(&monc->mutex);