Home
last modified time | relevance | path

Searched refs:osd_weight (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/net/ceph/
Dosdmap.c539 kfree(map->osd_weight); in ceph_osdmap_destroy()
567 memcpy(weight, map->osd_weight, map->max_osd*sizeof(*weight)); in osdmap_set_max_osd()
570 kfree(map->osd_weight); in osdmap_set_max_osd()
574 map->osd_weight = weight; in osdmap_set_max_osd()
660 map->max_osd*(1 + sizeof(*map->osd_weight) + in osdmap_decode()
667 map->osd_weight[i] = ceph_decode_32(p); in osdmap_decode()
893 map->osd_weight[osd] = off; in osdmap_apply_incremental()
1134 preferred, osdmap->osd_weight); in calc_pg_raw()
Ddebugfs.c81 ((client->osdc.osdmap->osd_weight[i]*100) >> 16), in osdmap_show()
/linux-3.4.99/include/linux/ceph/
Dosdmap.h46 u32 *osd_weight; /* 0 = failed, 0x10000 = 100% normal */ member