aboutsummaryrefslogtreecommitdiffstats
path: root/net/ceph
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2014-04-04 10:21:32 -0400
committerSage Weil <sage@inktank.com>2014-04-05 00:08:29 -0400
commit8a53f23fcda355958a79774c6333a3a31c380ecf (patch)
tree3d07ef305fb0b21eb3d22f9d8ddae08f9a69d61a /net/ceph
parentf31da0f3e12e57f21d73315e06c48fb9860fe07d (diff)
libceph: dump pool {read,write}_tier to debugfs
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>
Diffstat (limited to 'net/ceph')
-rw-r--r--net/ceph/debugfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ceph/debugfs.c b/net/ceph/debugfs.c
index 34453a2b4b4d..10421a4b76f8 100644
--- a/net/ceph/debugfs.c
+++ b/net/ceph/debugfs.c
@@ -68,9 +68,9 @@ static int osdmap_show(struct seq_file *s, void *p)
68 struct ceph_pg_pool_info *pool = 68 struct ceph_pg_pool_info *pool =
69 rb_entry(n, struct ceph_pg_pool_info, node); 69 rb_entry(n, struct ceph_pg_pool_info, node);
70 70
71 seq_printf(s, "pg_pool %llu pg_num %d / %d\n", 71 seq_printf(s, "pool %lld pg_num %u (%d) read_tier %lld write_tier %lld\n",
72 (unsigned long long)pool->id, pool->pg_num, 72 pool->id, pool->pg_num, pool->pg_num_mask,
73 pool->pg_num_mask); 73 pool->read_tier, pool->write_tier);
74 } 74 }
75 for (i = 0; i < map->max_osd; i++) { 75 for (i = 0; i < map->max_osd; i++) {
76 struct ceph_entity_addr *addr = &map->osd_addr[i]; 76 struct ceph_entity_addr *addr = &map->osd_addr[i];