string key;
cmd_getval(cct, cmdmap, "key", key);
- if (key == "full")
- return prepare_set_flag(op, CEPH_OSDMAP_FULL);
- else if (key == "pause")
+ if (key == "pause")
return prepare_set_flag(op, CEPH_OSDMAP_PAUSERD | CEPH_OSDMAP_PAUSEWR);
else if (key == "noup")
return prepare_set_flag(op, CEPH_OSDMAP_NOUP);
} else if (prefix == "osd unset") {
string key;
cmd_getval(cct, cmdmap, "key", key);
- if (key == "full")
- return prepare_unset_flag(op, CEPH_OSDMAP_FULL);
- else if (key == "pause")
+ if (key == "pause")
return prepare_unset_flag(op, CEPH_OSDMAP_PAUSERD | CEPH_OSDMAP_PAUSEWR);
else if (key == "noup")
return prepare_unset_flag(op, CEPH_OSDMAP_NOUP);