Skip to content
Commit 90731f99 authored by Xiubo Li's avatar Xiubo Li Committed by Greg Kroah-Hartman
Browse files

libceph: rename read_sparse_msg_*() to read_partial_sparse_msg_*()

[ Upstream commit ee97302f

 ]

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: default avatarXiubo Li <xiubli@redhat.com>
Acked-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
Stable-dep-of: 8e46a2d0

 ("libceph: just wait for more data to be available on the socket")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f4b69db0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment