summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/osd/OSD.cc1
-rw-r--r--src/osd/osd_types.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc
index 5710eb7c0f6..fc31cb41ffc 100644
--- a/src/osd/OSD.cc
+++ b/src/osd/OSD.cc
@@ -110,6 +110,7 @@ const struct CompatSet::Feature ceph_osd_feature_incompat[] = {
CEPH_OSD_FEATURE_INCOMPAT_BASE,
CEPH_OSD_FEATURE_INCOMPAT_PGINFO,
CEPH_OSD_FEATURE_INCOMPAT_OLOC,
+ CEPH_OSD_FEATURE_INCOMPAT_LEC,
END_FEATURE
};
const struct CompatSet::Feature ceph_osd_feature_ro_compat[] = {
diff --git a/src/osd/osd_types.h b/src/osd/osd_types.h
index 0e88daf5dc4..39de3a2b12f 100644
--- a/src/osd/osd_types.h
+++ b/src/osd/osd_types.h
@@ -34,6 +34,7 @@
#define CEPH_OSD_FEATURE_INCOMPAT_BASE CompatSet::Feature(1, "initial feature set(~v.18)")
#define CEPH_OSD_FEATURE_INCOMPAT_PGINFO CompatSet::Feature(2, "pginfo object")
#define CEPH_OSD_FEATURE_INCOMPAT_OLOC CompatSet::Feature(3, "object locator")
+#define CEPH_OSD_FEATURE_INCOMPAT_LEC CompatSet::Feature(4, "last_epoch_clean")
/* osdreqid_t - caller name + incarnation# + tid to unique identify this request