This flag will indicate that hobject_t's shall hence-forth be
sorted in a bitwise fashion.
Signed-off-by: Sage Weil <sage@redhat.com>
#define CEPH_OSDMAP_NODEEP_SCRUB (1<<12) /* block periodic deep-scrub */
#define CEPH_OSDMAP_NOTIERAGENT (1<<13) /* disable tiering agent */
#define CEPH_OSDMAP_NOREBALANCE (1<<14) /* block osd backfill unless pg is degraded */
+#define CEPH_OSDMAP_SORTBITWISE (1<<15) /* use bitwise hobject_t sort */
/*
* The error code to return when an OSD can't handle a write
s += ",nodeep-scrub";
if (f & CEPH_OSDMAP_NOTIERAGENT)
s += ",notieragent";
+ if (f & CEPH_OSDMAP_SORTBITWISE)
+ s += ",sortbitwise";
if (s.length())
s.erase(0, 1);
return s;