Home
last modified time | relevance | path

Searched refs:osds (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/net/ceph/
Dosdmap.c1451 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 …]
Ddebugfs.c100 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()
Dosd_client.c1201 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in DEFINE_RB_FUNCS()
1396 erase_osd(&osdc->osds, osd); in close_osd()
1450 osd = lookup_osd(&osdc->osds, o); in lookup_create_osd()
1458 insert_osd(&osdc->osds, osd); in lookup_create_osd()
1565 acting->osds[i], acting->primary); in pick_random_replica()
1583 acting->osds[i], in pick_closest_replica()
1595 acting->osds[best_i], best_locality, acting->primary); in pick_closest_replica()
1708 WARN_ON(!is_read || acting.osds[0] != acting.primary); in calc_target()
1714 t->osd = acting.osds[pos]; in calc_target()
3464 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in handle_timeout()
[all …]
/linux-6.6.21/include/linux/ceph/
Dosdmap.h158 int osds[]; member
260 int osds[CEPH_PG_MAX_SIZE]; member
Dosd_client.h411 struct rb_root osds; /* osds */ member