[GIT PULL] Ceph fix for 6.2-rc7

From: Ilya Dryomov
Date: Fri Feb 03 2023 - 13:15:11 EST


Hi Linus,

The following changes since commit 6d796c50f84ca79f1722bb131799e5a5710c4700:

Linux 6.2-rc6 (2023-01-29 13:59:43 -0800)

are available in the Git repository at:

https://github.com/ceph/ceph-client.git tags/ceph-for-6.2-rc7

for you to fetch changes up to a68e564adcaa69b0930809fb64d9d5f7d9c32ba9:

ceph: blocklist the kclient when receiving corrupted snap trace (2023-02-02 13:58:15 +0100)

----------------------------------------------------------------
A safeguard to prevent the kernel client from further damaging the
filesystem after running into a case of an invalid snap trace. The
root cause of this metadata corruption is still being investigated but
it appears to be stemming from the MDS. As such, this is the best we
can do for now.

----------------------------------------------------------------
Xiubo Li (2):
ceph: move mount state enum to super.h
ceph: blocklist the kclient when receiving corrupted snap trace

fs/ceph/addr.c | 17 +++++++++++++++--
fs/ceph/caps.c | 16 +++++++++++++---
fs/ceph/file.c | 3 +++
fs/ceph/mds_client.c | 30 +++++++++++++++++++++++++++---
fs/ceph/snap.c | 36 ++++++++++++++++++++++++++++++++++--
fs/ceph/super.h | 11 +++++++++++
include/linux/ceph/libceph.h | 10 ----------
7 files changed, 103 insertions(+), 20 deletions(-)