From: Xiubo Li <xiubli@xxxxxxxxxx> V4: - remove the sr_resid_elen field - improved the 'read_partial_sparse_msg_data()' V3: - rename read_sparse_msg_XX to read_partial_sparse_msg_XX - fix the sparse-read bug in the messager v1 code. V2: - fix the sparse-read bug in the sparse-read code instead Xiubo Li (3): libceph: fail the sparse-read if there still has data in socket libceph: rename read_sparse_msg_XX to read_partial_sparse_msg_XX libceph: just wait for more data to be available on the socket include/linux/ceph/messenger.h | 1 + net/ceph/messenger_v1.c | 40 +++++++++++++++++++++------------- net/ceph/osd_client.c | 9 ++++++++ 3 files changed, 35 insertions(+), 15 deletions(-) -- 2.43.0