]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: ceph_connection_operations::reencode_message() method
authorIlya Dryomov <idryomov@gmail.com>
Thu, 15 Jun 2017 14:30:54 +0000 (16:30 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 7 Jul 2017 15:25:15 +0000 (17:25 +0200)
commit6b5d13ce7d61e0444cfe74796daa69998f772264
treecc2081e0f97f2f332d330e0d34349a8632a5922c
parentbb22637fceb38b3282390d3de79ffb9ab2c757cb
libceph: ceph_connection_operations::reencode_message() method

Give upper layers a chance to reencode the message after the connection
is negotiated and ->peer_features is set.  OSD client will use this to
support both luminous and pre-luminous OSDs (in a single cluster): the
former need MOSDOp v8; the latter will continue to be sent MOSDOp v4.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/messenger.h
net/ceph/messenger.c