Home
last modified time | relevance | path

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

/linux/net/ceph/
H A Dosdmap.c1178 kvfree(map->osd_weight); in ceph_osdmap_destroy()
1214 memcpy(weight, map->osd_weight, to_copy * sizeof(*weight)); in osdmap_set_max_osd()
1217 kvfree(map->osd_weight); in osdmap_set_max_osd()
1222 map->osd_weight = weight; in osdmap_set_max_osd()
1226 map->osd_weight[i] = CEPH_OSD_OUT; in osdmap_set_max_osd()
1706 sizeof(*map->osd_weight), e_inval); in osdmap_decode()
1722 map->osd_weight[i] = ceph_decode_32(p); in osdmap_decode()
1878 map->osd_weight[osd] = w; in decode_new_up_state_weight()
2577 osdmap->osd_weight, osdmap->max_osd, pi->id); in pg_to_raw_osds()
2605 osdmap->osd_weight[osd] == 0) { in apply_upmap()
[all …]
H A Ddebugfs.c91 ((map->osd_weight[i]*100) >> 16), in osdmap_show()
/linux/include/linux/ceph/
H A Dosdmap.h179 u32 *osd_weight; /* 0 = failed, 0x10000 = 100% normal */ member