Lines Matching full:crush

11 #include <linux/crush/hash.h>
12 #include <linux/crush/mapper.h>
69 * decode crush map
629 dout("crush decode tunable choose_local_tries = %d\n", in crush_decode()
631 dout("crush decode tunable choose_local_fallback_tries = %d\n", in crush_decode()
633 dout("crush decode tunable choose_total_tries = %d\n", in crush_decode()
638 dout("crush decode tunable chooseleaf_descend_once = %d\n", in crush_decode()
643 dout("crush decode tunable chooseleaf_vary_r = %d\n", in crush_decode()
652 dout("crush decode tunable chooseleaf_stable = %d\n", in crush_decode()
982 * CRUSH workspaces
1086 * have the initial workspace and the CRUSH computation in get_workspace()
1145 if (map->crush) in ceph_osdmap_destroy()
1146 crush_destroy(map->crush); in ceph_osdmap_destroy()
1259 static int osdmap_set_crush(struct ceph_osdmap *map, struct crush_map *crush) in osdmap_set_crush() argument
1263 if (IS_ERR(crush)) in osdmap_set_crush()
1264 return PTR_ERR(crush); in osdmap_set_crush()
1266 work = alloc_workspace(crush); in osdmap_set_crush()
1268 crush_destroy(crush); in osdmap_set_crush()
1272 if (map->crush) in osdmap_set_crush()
1273 crush_destroy(map->crush); in osdmap_set_crush()
1275 map->crush = crush; in osdmap_set_crush()
1767 /* crush */ in osdmap_decode()
2007 /* new crush? */ in osdmap_apply_incremental()
2505 arg_map = lookup_choose_arg_map(&map->crush->choose_args, in do_crush()
2508 arg_map = lookup_choose_arg_map(&map->crush->choose_args, in do_crush()
2511 work = get_workspace(&map->crush_wsm, map->crush); in do_crush()
2512 r = crush_do_rule(map->crush, ruleno, x, result, result_max, in do_crush()
2548 * Calculate raw set (CRUSH output) for given PG and filter out
2551 * Placement seed (CRUSH input) is returned through @ppps.
2567 ruleno = crush_find_rule(osdmap->crush, pi->crush_ruleset, pi->type, in pg_to_raw_osds()
2570 pr_err("no crush rule: pool %lld ruleset %d type %d size %d\n", in pg_to_raw_osds()
2585 pr_err("error %d from crush rule %d: pool %lld ruleset %d type %d size %d\n", in pg_to_raw_osds()
3071 * location expressed in terms of CRUSH hierarchy as a set of
3103 id = get_immediate_parent(osdmap->crush, id, &type_id, &loc); in ceph_get_crush_locality()