crush.set_type_name(2, "chassis");
crush.set_type_name(3, "rack");
crush.set_type_name(4, "row");
- crush.set_type_naem(5, "pdu");
- crush.set_type_naem(6, "pod");
+ crush.set_type_name(5, "pdu");
+ crush.set_type_name(6, "pod");
crush.set_type_name(7, "room");
crush.set_type_name(8, "datacenter");
crush.set_type_name(9, "region");
* handy helpers to build simple maps...
*/
/// build crush bucket types. @return 'root' type id
- int _build_crush_types(CrushWrapper& crush);
void build_simple(CephContext *cct, epoch_t e, uuid_d &fsid,
int num_osd, int pg_bits, int pgp_bits);
int build_simple_from_conf(CephContext *cct, epoch_t e, uuid_d &fsid,
int pg_bits, int pgp_bits);
+ static int _build_crush_types(CrushWrapper& crush);
static void build_simple_crush_map(CephContext *cct, CrushWrapper& crush,
map<int, const char*>& poolsets, int num_osd);
static void build_simple_crush_map_from_conf(CephContext *cct, CrushWrapper& crush,