|
@@ -1379,7 +1379,6 @@ static int decode_new_up_state_weight(void **p, void *end,
|
|
|
if ((map->osd_state[osd] & CEPH_OSD_EXISTS) &&
|
|
if ((map->osd_state[osd] & CEPH_OSD_EXISTS) &&
|
|
|
(xorstate & CEPH_OSD_EXISTS)) {
|
|
(xorstate & CEPH_OSD_EXISTS)) {
|
|
|
pr_info("osd%d does not exist\n", osd);
|
|
pr_info("osd%d does not exist\n", osd);
|
|
|
- map->osd_weight[osd] = CEPH_OSD_IN;
|
|
|
|
|
ret = set_primary_affinity(map, osd,
|
|
ret = set_primary_affinity(map, osd,
|
|
|
CEPH_OSD_DEFAULT_PRIMARY_AFFINITY);
|
|
CEPH_OSD_DEFAULT_PRIMARY_AFFINITY);
|
|
|
if (ret)
|
|
if (ret)
|