projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f31da0f
)
libceph: dump pool {read,write}_tier to debugfs
author
Ilya Dryomov
<ilya.dryomov@inktank.com>
Fri, 4 Apr 2014 14:21:32 +0000
(18:21 +0400)
committer
Sage Weil
<sage@inktank.com>
Sat, 5 Apr 2014 04:08:29 +0000
(21:08 -0700)
Dump pool {read,write}_tier to debugfs. While at it, fixup printk type
specifiers and remove the unnecessary cast to unsigned long long.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
net/ceph/debugfs.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ceph/debugfs.c
b/net/ceph/debugfs.c
index 34453a2b4b4ddadd781da57d8ea5d646b77178ba..10421a4b76f8710def7328e45dabf227cc3cdb3b 100644
(file)
--- a/
net/ceph/debugfs.c
+++ b/
net/ceph/debugfs.c
@@
-68,9
+68,9
@@
static int osdmap_show(struct seq_file *s, void *p)
struct ceph_pg_pool_info *pool =
rb_entry(n, struct ceph_pg_pool_info, node);
- seq_printf(s, "p
g_pool %llu pg_num %d / %
d\n",
-
(unsigned long long)pool->id, pool->pg_num
,
- pool->
pg_num_mask
);
+ seq_printf(s, "p
ool %lld pg_num %u (%d) read_tier %lld write_tier %ll
d\n",
+
pool->id, pool->pg_num, pool->pg_num_mask
,
+ pool->
read_tier, pool->write_tier
);
}
for (i = 0; i < map->max_osd; i++) {
struct ceph_entity_addr *addr = &map->osd_addr[i];