Home
last modified time | relevance | path

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

/net/ceph/
Dosdmap.c2213 int ceph_object_locator_to_pg(struct ceph_osdmap *osdmap, in ceph_object_locator_to_pg() argument
2220 pi = ceph_pg_pool_by_id(osdmap, oloc->pool); in ceph_object_locator_to_pg()
2301 static void remove_nonexistent_osds(struct ceph_osdmap *osdmap, in remove_nonexistent_osds() argument
2312 if (!ceph_osd_exists(osdmap, set->osds[i])) { in remove_nonexistent_osds()
2323 if (!ceph_osd_exists(osdmap, set->osds[i])) in remove_nonexistent_osds()
2335 static void pg_to_raw_osds(struct ceph_osdmap *osdmap, in pg_to_raw_osds() argument
2349 ruleno = crush_find_rule(osdmap->crush, pi->crush_ruleset, pi->type, in pg_to_raw_osds()
2364 len = do_crush(osdmap, ruleno, pps, raw->osds, pi->size, in pg_to_raw_osds()
2365 osdmap->osd_weight, osdmap->max_osd, pi->id); in pg_to_raw_osds()
2374 remove_nonexistent_osds(osdmap, pi, raw); in pg_to_raw_osds()
[all …]
Dosd_client.c1360 peer_addr = &osd->o_osdc->osdmap->osd_addr[osd->o_osd]; in reopen_osd()
1405 &osdc->osdmap->osd_addr[osd->o_osd]); in lookup_create_osd()
1460 for (n = rb_first(&osdc->osdmap->pg_pools); n; n = rb_next(n)) { in have_pool_full()
1475 pi = ceph_pg_pool_by_id(osdc->osdmap, pool_id); in pool_full()
1498 (osdc->osdmap->epoch < osdc->epoch_barrier); in target_should_be_paused()
1523 t->epoch = osdc->osdmap->epoch; in calc_target()
1524 pi = ceph_pg_pool_by_id(osdc->osdmap, t->base_oloc.pool); in calc_target()
1531 if (osdc->osdmap->epoch == pi->last_force_request_resend) { in calc_target()
1549 pi = ceph_pg_pool_by_id(osdc->osdmap, t->target_oloc.pool); in calc_target()
1561 ceph_pg_to_up_acting_osds(osdc->osdmap, pi, &pgid, &up, &acting); in calc_target()
[all …]
DMakefile10 osd_client.o osdmap.o crush/crush.o crush/mapper.o crush/hash.o \
Dceph_common.c728 client->osdc.osdmap && client->osdc.osdmap->epoch; in have_mon_and_osd_map()
792 if (client->osdc.osdmap->epoch >= newest_epoch) in ceph_wait_for_latest_osdmap()
Ddebugfs.c59 struct ceph_osdmap *map = osdc->osdmap; in osdmap_show()