]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
xio: correctly set XioConnection features with fake features for now
authorVu Pham <vu@mellanox.com>
Tue, 30 Jun 2015 23:59:49 +0000 (16:59 -0700)
committerVu Pham <vu@mellanox.com>
Wed, 15 Jul 2015 23:17:02 +0000 (16:17 -0700)
Correctly set XioConnection features with fake features until support
in future

Signed-of-by: Vu Pham <vu@mellanox.com>
src/msg/xio/XioConnection.cc

index 270d8e9a7a1225d47e4fa9f955fc445b7a6bd0fa..2f5909108042ffd8f4cc251a289cd7c97510c8c2 100644 (file)
@@ -142,7 +142,7 @@ XioConnection::XioConnection(XioMessenger *m, XioConnection::type _type,
         " throttle_msgs: " << xopt << " throttle_bytes: " << bytes_opt << dendl;
 
   /* XXXX fake features, aieee! */
-  set_features(m->local_features);
+  set_features(XIO_ALL_FEATURES);
 }
 
 int XioConnection::send_message(Message *m)