|
@@ -150,6 +150,8 @@ struct ceph_eversion {
|
|
#define CEPH_OSD_AUTOOUT (1<<2) /* osd was automatically marked out */
|
|
#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_NEW (1<<3) /* osd is new, never marked in */
|
|
|
|
|
|
|
|
+extern const char *ceph_osd_state_name(int s);
|
|
|
|
+
|
|
/* osd weights. fixed point value: 0x10000 == 1.0 ("in"), 0 == "out" */
|
|
/* osd weights. fixed point value: 0x10000 == 1.0 ("in"), 0 == "out" */
|
|
#define CEPH_OSD_IN 0x10000
|
|
#define CEPH_OSD_IN 0x10000
|
|
#define CEPH_OSD_OUT 0
|
|
#define CEPH_OSD_OUT 0
|