Signed-off-by: Sage Weil <sage@redhat.com>
return "autoout";
case CEPH_OSD_NEW:
return "new";
+ case CEPH_OSD_FULL:
+ return "full";
+ case CEPH_OSD_NEARFULL:
+ return "nearfull";
default:
return "???";
}
#define CEPH_OSD_UP (1<<1)
#define CEPH_OSD_AUTOOUT (1<<2) /* osd was automatically marked out */
#define CEPH_OSD_NEW (1<<3) /* osd is new, never marked in */
+#define CEPH_OSD_FULL (1<<4) /* osd is at or above full threshold */
+#define CEPH_OSD_NEARFULL (1<<5) /* osd is at or above nearfull threshold */
extern const char *ceph_osd_state_name(int s);