Home
last modified time | relevance | path

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

/linux/net/ceph/
H A Dosdmap.c1177 kvfree(map->osd_weight); in ceph_osdmap_destroy()
1213 memcpy(weight, map->osd_weight, to_copy * sizeof(*weight)); in osdmap_set_max_osd()
1216 kvfree(map->osd_weight); in osdmap_set_max_osd()
1221 map->osd_weight = weight; in osdmap_set_max_osd()
1225 map->osd_weight[i] = CEPH_OSD_OUT; in osdmap_set_max_osd()
1705 sizeof(*map->osd_weight), e_inval); in osdmap_decode()
1721 map->osd_weight[i] = ceph_decode_32(p); in osdmap_decode()
1877 map->osd_weight[osd] = w; in decode_new_up_state_weight()
2576 osdmap->osd_weight, osdmap->max_osd, pi->id); in pg_to_raw_osds()
2604 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