Searched refs:osds (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/net/ceph/ |
D | osdmap.c | 1451 pg->pg_temp.osds[i] = ceph_decode_32(p); in __decode_pg_temp() 2239 !memcmp(lhs->osds, rhs->osds, rhs->size * sizeof(rhs->osds[0]))) in __osds_equal() 2273 if (set->osds[i] != CRUSH_ITEM_NONE) in osds_valid() 2285 memcpy(dest->osds, src->osds, src->size * sizeof(src->osds[0])); in ceph_osds_copy() 2348 if (acting->osds[i] == osd) in calc_pg_rank() 2526 if (!ceph_osd_exists(osdmap, set->osds[i])) { in remove_nonexistent_osds() 2531 set->osds[i - removed] = set->osds[i]; in remove_nonexistent_osds() 2537 if (!ceph_osd_exists(osdmap, set->osds[i])) in remove_nonexistent_osds() 2538 set->osds[i] = CRUSH_ITEM_NONE; in remove_nonexistent_osds() 2571 if (pi->size > ARRAY_SIZE(raw->osds)) { in pg_to_raw_osds() [all …]
|
D | debugfs.c | 100 pg->pg_temp.osds[i]); in osdmap_show() 118 pg->pg_upmap.osds[i]); in osdmap_show() 191 seq_printf(s, "%s%d", (!i ? "" : ","), t->up.osds[i]); in dump_target() 194 seq_printf(s, "%s%d", (!i ? "" : ","), t->acting.osds[i]); in dump_target() 352 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in osdc_show() 360 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in osdc_show() 368 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in osdc_show()
|
D | osd_client.c | 1138 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in DEFINE_RB_FUNCS() 1320 erase_osd(&osdc->osds, osd); in close_osd() 1374 osd = lookup_osd(&osdc->osds, o); in lookup_create_osd() 1382 insert_osd(&osdc->osds, osd); in lookup_create_osd() 1485 acting->osds[i], acting->primary); in pick_random_replica() 1503 acting->osds[i], in pick_closest_replica() 1515 acting->osds[best_i], best_locality, acting->primary); in pick_closest_replica() 1628 WARN_ON(!is_read || acting.osds[0] != acting.primary); in calc_target() 1634 t->osd = acting.osds[pos]; in calc_target() 3374 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in handle_timeout() [all …]
|
/linux-6.1.9/include/linux/ceph/ |
D | osdmap.h | 158 int osds[]; member 260 int osds[CEPH_PG_MAX_SIZE]; member
|
D | osd_client.h | 353 struct rb_root osds; /* osds */ member
|