]> git.ipfire.org Git - people/arne_f/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)
commit98ad5ebd1505eb903ae8bc27e94c1ab0d1c3e651
treecc2081e0f97f2f332d330e0d34349a8632a5922c
parent2e59ffd1df4aba5289f04d362efc8432fac14949
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