aboutsummaryrefslogtreecommitdiffstats
path: root/net/ceph/debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ceph/debugfs.c')
-rw-r--r--net/ceph/debugfs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/ceph/debugfs.c b/net/ceph/debugfs.c
index 5865f2c9580a..612bf55e6a8b 100644
--- a/net/ceph/debugfs.c
+++ b/net/ceph/debugfs.c
@@ -93,6 +93,13 @@ static int osdmap_show(struct seq_file *s, void *p)
93 pg->pg_temp.osds[i]); 93 pg->pg_temp.osds[i]);
94 seq_printf(s, "]\n"); 94 seq_printf(s, "]\n");
95 } 95 }
96 for (n = rb_first(&map->primary_temp); n; n = rb_next(n)) {
97 struct ceph_pg_mapping *pg =
98 rb_entry(n, struct ceph_pg_mapping, node);
99
100 seq_printf(s, "primary_temp %llu.%x %d\n", pg->pgid.pool,
101 pg->pgid.seed, pg->primary_temp.osd);
102 }
96 103
97 return 0; 104 return 0;
98} 105}