mbox series

[v3,0/2] libceph: sparse-read misc fixes

Message ID 20231106011644.248119-1-xiubli@redhat.com (mailing list archive)
Headers show
Series libceph: sparse-read misc fixes | expand

Message

Xiubo Li Nov. 6, 2023, 1:16 a.m. UTC
From: Xiubo Li <xiubli@redhat.com>

V3:
- Remove the WARN_ON_ONCE().
- Return -EREMOTEIO when the datalen and extents mismatch.

V2:
- Remove [1/3] patch from V1.

Xiubo Li (2):
  libceph: save and covert sr_datalen to host-endian
  libceph: check the data length when sparse-read finishes

 include/linux/ceph/osd_client.h |  3 ++-
 net/ceph/osd_client.c           | 15 ++++++++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)