This should have no practical effect unless we could have
features getting turned off in a later release, since we
can assume any features being checked for are supported locally.
Signed-off-by: David Zafman <dzafman@redhat.com>
active_pushes(0),
recovery_state(this),
pg_id(p),
- peer_features((uint64_t)-1)
+ peer_features(CEPH_FEATURES_SUPPORTED_DEFAULT)
{
#ifdef PG_DEBUG_REFS
osd->add_pgid(p, this);
const spg_t& get_pgid() const { return pg_id; }
int get_nrep() const { return acting.size(); }
- void reset_peer_features() { peer_features = (uint64_t)-1; }
+ void reset_peer_features() { peer_features = CEPH_FEATURES_SUPPORTED_DEFAULT; }
uint64_t get_min_peer_features() const { return peer_features; }
void apply_peer_features(uint64_t f) { peer_features &= f; }