[PATCH v5 0/3] libceph: fix sparse-read failure bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Xiubo Li <xiubli@xxxxxxxxxx>

- remove sr_total_resid and reuse total_resid instead.

- remove the sr_resid_elen field
- improved the 'read_partial_sparse_msg_data()'

- rename read_sparse_msg_XX to read_partial_sparse_msg_XX
- fix the sparse-read bug in the messager v1 code.

- 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 |  2 +-
 net/ceph/messenger_v1.c        | 33 +++++++++++++++++----------------
 net/ceph/messenger_v2.c        |  4 ++--
 net/ceph/osd_client.c          | 22 ++++++++++++++--------
 4 files changed, 34 insertions(+), 27 deletions(-)


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux