Again, this was an overly-strict safety check. It passed testing against
(even old) userspace clients, but the kernel clients don't have all the
same feature bits and so when encoding for them, we see lower target_v values
and assert out erroneously.
As before, monitors and OSDs that actually need to interpret this data
are gated on cluster entry, so we don't need this safety check here.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
target_v = 6;
}
if (stretch_mode_enabled) {
- ceph_assert(target_v >= 9);
target_v = std::max((uint8_t)10, target_v);
}
ENCODE_START(target_v, 1, bl); // extended, osd-only data