Home
last modified time | relevance | path

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

/linux/net/ceph/
H A Dosdmap.c1451 pg->pg_temp.osds[i] = ceph_decode_32(p); in __decode_pg_temp()
2248 !memcmp(lhs->osds, rhs->osds, rhs->size * sizeof(rhs->osds[0]))) in __osds_equal()
2282 if (set->osds[i] != CRUSH_ITEM_NONE) in osds_valid()
2294 memcpy(dest->osds, src->osds, src->size * sizeof(src->osds[0])); in ceph_osds_copy()
2357 if (acting->osds[i] == osd) in calc_pg_rank()
2535 if (!ceph_osd_exists(osdmap, set->osds[i])) { in remove_nonexistent_osds()
2540 set->osds[i - removed] = set->osds[i]; in remove_nonexistent_osds()
2546 if (!ceph_osd_exists(osdmap, set->osds[i])) in remove_nonexistent_osds()
2547 set->osds[i] = CRUSH_ITEM_NONE; in remove_nonexistent_osds()
2580 if (pi->size > ARRAY_SIZE(raw->osds)) { in pg_to_raw_osds()
[all …]
H A Ddebugfs.c105 pg->pg_temp.osds[i]); in osdmap_show()
123 pg->pg_upmap.osds[i]); in osdmap_show()
197 seq_printf(s, "%s%d", (!i ? "" : ","), t->up.osds[i]); in dump_target()
200 seq_printf(s, "%s%d", (!i ? "" : ","), t->acting.osds[i]); in dump_target()
358 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in osdc_show()
366 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in osdc_show()
374 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in osdc_show()
H A Dosd_client.c934 * sure older osds don't trip over an unsupported opcode. in osd_req_op_alloc_hint_init()
1179 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in DEFINE_RB_FUNCS()
1258 * Track open sessions with osds.
1372 erase_osd(&osdc->osds, osd); in close_osd()
1426 osd = lookup_osd(&osdc->osds, o); in lookup_create_osd()
1434 insert_osd(&osdc->osds, osd); in lookup_create_osd()
1541 acting->osds[i], acting->primary); in pick_random_replica()
1559 acting->osds[i], in pick_closest_replica()
1571 acting->osds[best_i], best_locality, acting->primary); in pick_closest_replica()
1691 WARN_ON(!is_read || acting.osds[ in calc_target()
[all...]
/linux/include/linux/ceph/
H A Dosdmap.h158 int osds[]; member
260 int osds[CEPH_PG_MAX_SIZE]; member
H A Dosd_client.h411 struct rb_root osds; /* osds */ member