libceph: separate msgr1 protocol implementation
authorIlya Dryomov <idryomov@gmail.com>
Thu, 12 Nov 2020 11:55:39 +0000 (12:55 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 14 Dec 2020 22:21:49 +0000 (23:21 +0100)
commit566050e17e53db283d4e26b73b4b50556f97ce7b
tree1f2371c72db8f4a2692487b11586a2409e3ae2d3
parent6503e0b69c9d4d78b5450db01e79328f8ed4ef21
libceph: separate msgr1 protocol implementation

In preparation for msgr2, define internal messenger <-> protocol
interface (as opposed to external messenger <-> client interface, which
is struct ceph_connection_operations) consisting of try_read(),
try_write(), revoke(), revoke_incoming(), opened(), reset_session() and
reset_protocol() ops.  The semantics are exactly the same as they are
now.

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