libceph: rename read_sparse_msg_*() to read_partial_sparse_msg_*()
authorXiubo Li <xiubli@redhat.com>
Thu, 14 Dec 2023 01:21:15 +0000 (09:21 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 7 Feb 2024 13:43:29 +0000 (14:43 +0100)
commitee97302fbc0c98a25732d736fc73aaf4d62c4128
treead7961ad683c0f5034fa130a9f131a91de632b71
parentcd7d469c25704d414d71bf3644f163fb74e7996b
libceph: rename read_sparse_msg_*() to read_partial_sparse_msg_*()

These functions are supposed to behave like other read_partial_*()
handlers: the contract with messenger v1 is that the handler bails if
the area of the message it's responsible for is already processed.
This comes up when handling short reads from the socket.

[ idryomov: changelog ]

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Acked-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/messenger_v1.c