We need this since we now rely on the server telling us rvals and
payload_lens for each OSDOp.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
if (!messenger)
goto out;
+ // require OSDREPLYMUX feature. this means we will fail to talk to
+ // old servers. this is necessary because otherwise we won't know
+ // how to decompose the reply data into its consituent pieces.
+ messenger->set_default_policy(SimpleMessenger::Policy::client(0, CEPH_FEATURE_OSDREPLYMUX));
+
ldout(cct, 1) << "starting msgr at " << messenger->get_ms_addr() << dendl;
messenger->register_entity(entity_name_t::CLIENT(-1));