libceph: move msgr1 protocol implementation to its own file
authorIlya Dryomov <idryomov@gmail.com>
Thu, 12 Nov 2020 14:48:06 +0000 (15:48 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 14 Dec 2020 22:21:50 +0000 (23:21 +0100)
commit2f713615ddd9d805b6c5e79c52e0e11af99d2bf1
tree1a2940cfdb53882ace9f27167d594828cdbf6658
parent566050e17e53db283d4e26b73b4b50556f97ce7b
libceph: move msgr1 protocol implementation to its own file

A pure move, no other changes.

Note that ceph_tcp_recv{msg,page}() and ceph_tcp_send{msg,page}()
helpers are also moved.  msgr2 will bring its own, more efficient,
variants based on iov_iter.  Switching msgr1 to them was considered
but decided against to avoid subtle regressions.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/messenger.h
net/ceph/Makefile
net/ceph/messenger.c
net/ceph/messenger_v1.c [new file with mode: 0644]