[GIT PULL] Ceph fixes for 6.8-rc4

From: Ilya Dryomov
Date: Fri Feb 09 2024 - 10:35:32 EST


Hi Linus,

The following changes since commit 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478:

Linux 6.8-rc3 (2024-02-04 12:20:36 +0000)

are available in the Git repository at:

https://github.com/ceph/ceph-client.git tags/ceph-for-6.8-rc4

for you to fetch changes up to 07045648c07c5632e0dfd5ce084d3cd0cec0258a:

ceph: always check dir caps asynchronously (2024-02-07 14:58:02 +0100)

----------------------------------------------------------------
Some fscrypt-related fixups (sparse reads are used only for encrypted
files) and two cap handling fixes from Xiubo and Rishabh.

----------------------------------------------------------------
Rishabh Dave (1):
ceph: prevent use-after-free in encode_cap_msg()

Xiubo Li (5):
libceph: fail sparse-read if the data length doesn't match
libceph: rename read_sparse_msg_*() to read_partial_sparse_msg_*()
libceph: just wait for more data to be available on the socket
ceph: always set initial i_blkbits to CEPH_FSCRYPT_BLOCK_SHIFT
ceph: always check dir caps asynchronously

fs/ceph/caps.c | 9 ++-------
fs/ceph/inode.c | 2 ++
fs/ceph/mds_client.c | 9 ++++-----
fs/ceph/mds_client.h | 2 +-
fs/ceph/super.h | 2 --
include/linux/ceph/messenger.h | 2 +-
include/linux/ceph/osd_client.h | 3 ++-
net/ceph/messenger_v1.c | 33 +++++++++++++++++----------------
net/ceph/messenger_v2.c | 4 ++--
net/ceph/osd_client.c | 27 ++++++++++++++++++---------
10 files changed, 49 insertions(+), 44 deletions(-)