]> git.itanic.dy.fi Git - linux-stable/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2024 18:10:53 +0000 (19:10 +0100)
commit90731f99f8c19990d2b4b1daddc4c257b19634ac
tree7bba4482b56963bfe52d3ea259a26e8260cbb249
parentf4b69db0efca10cd140a4478520f3835a56a898d
libceph: rename read_sparse_msg_*() to read_partial_sparse_msg_*()

[ Upstream commit ee97302fbc0c98a25732d736fc73aaf4d62c4128 ]

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>
Stable-dep-of: 8e46a2d068c9 ("libceph: just wait for more data to be available on the socket")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/ceph/messenger_v1.c