Lines Matching full:osd
24 * .../osdc - active osd requests
84 seq_printf(s, "osd%d\t%s\t%3d%%\t(%s)\t%3d%%\t%2d\n", in osdmap_show()
108 pg->pgid.seed, pg->primary_temp.osd); in osdmap_show()
187 seq_printf(s, "osd%d\t%llu.%x\t", t->osd, t->pgid.pool, t->pgid.seed); in dump_target()
234 static void dump_requests(struct seq_file *s, struct ceph_osd *osd) in dump_requests() argument
238 mutex_lock(&osd->lock); in dump_requests()
239 for (n = rb_first(&osd->o_requests); n; n = rb_next(n)) { in dump_requests()
246 mutex_unlock(&osd->lock); in dump_requests()
260 static void dump_linger_requests(struct seq_file *s, struct ceph_osd *osd) in dump_linger_requests() argument
264 mutex_lock(&osd->lock); in dump_linger_requests()
265 for (n = rb_first(&osd->o_linger_requests); n; n = rb_next(n)) { in dump_linger_requests()
272 mutex_unlock(&osd->lock); in dump_linger_requests()
321 static void dump_backoffs(struct seq_file *s, struct ceph_osd *osd) in dump_backoffs() argument
325 mutex_lock(&osd->lock); in dump_backoffs()
326 for (n = rb_first(&osd->o_backoffs_by_id); n; n = rb_next(n)) { in dump_backoffs()
330 seq_printf(s, "osd%d\t", osd->o_osd); in dump_backoffs()
339 mutex_unlock(&osd->lock); in dump_backoffs()
353 struct ceph_osd *osd = rb_entry(n, struct ceph_osd, o_node); in osdc_show() local
355 dump_requests(s, osd); in osdc_show()
361 struct ceph_osd *osd = rb_entry(n, struct ceph_osd, o_node); in osdc_show() local
363 dump_linger_requests(s, osd); in osdc_show()
369 struct ceph_osd *osd = rb_entry(n, struct ceph_osd, o_node); in osdc_show() local
371 dump_backoffs(s, osd); in osdc_show()