#define CEPH_FEATURE_OSDENC (1ULL<<13)
// UNUSED: (1ULL<<14)
#define CEPH_FEATURE_MONENC (1ULL<<15)
-#define CEPH_FEATURE_QUERY_T (1ULL<<16)
+#define DEPRECATED_CEPH_FEATURE_QUERY_T (1ULL<<16) // DEPRECATED: JEWEL
#define CEPH_FEATURE_INDEP_PG_MAP (1ULL<<17)
#define CEPH_FEATURE_CRUSH_TUNABLES (1ULL<<18)
#define CEPH_FEATURE_CHUNKY_SCRUB (1ULL<<19)
CEPH_FEATURE_PGPOOL3 | \
CEPH_FEATURE_OSDREPLYMUX | \
CEPH_FEATURE_OSDENC | \
- CEPH_FEATURE_QUERY_T | \
+ DEPRECATED_CEPH_FEATURE_QUERY_T | \
CEPH_FEATURE_MONENC | \
CEPH_FEATURE_INDEP_PG_MAP | \
CEPH_FEATURE_CRUSH_TUNABLES | \
// -- pg_query_t --
void pg_query_t::encode(bufferlist &bl, uint64_t features) const {
- if (features & CEPH_FEATURE_QUERY_T) {
- ENCODE_START(3, 2, bl);
- ::encode(type, bl);
- ::encode(since, bl);
- history.encode(bl);
- ::encode(epoch_sent, bl);
- ::encode(to, bl);
- ::encode(from, bl);
- ENCODE_FINISH(bl);
- } else {
- ::encode(type, bl);
- ::encode(since, bl);
- history.encode(bl);
- }
+ ENCODE_START(3, 2, bl);
+ ::encode(type, bl);
+ ::encode(since, bl);
+ history.encode(bl);
+ ::encode(epoch_sent, bl);
+ ::encode(to, bl);
+ ::encode(from, bl);
+ ENCODE_FINISH(bl);
}
void pg_query_t::decode(bufferlist::iterator &bl) {