Skip to content

ceph: blocklist the kclient when receiving corrupted snap trace

[email protected] ceph-devel stable 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest2 patches 4 repliesIn review
  2. v61 patch 4 repliesSuperseded
  3. v52 patches 3 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v42 patches2 repliesSuperseded
v31 patch13 repliesSuperseded
v21 patch0 repliesSuperseded
v11 patch2 repliesSuperseded

Changes in v7 from the cover letter

- fix the debug log
- reorder the fence io and request's err checking
- remove stray whitespace

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ceph: move mount state enum to fs/ceph/super.hfs/ceph/super.h include/linux/ceph/libceph.h+10 -100 replies
2/2ceph: blocklist the kclient when receiving corrupted snap tracefs/ceph/addr.c fs/ceph/caps.c fs/ceph/file.c +3 more+99 -104 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchVenky Shankar
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 0/2] ceph: blocklist the kclient when receiving corrupted snap trace

From: Xiubo Li <[email protected]>

V7:
- fix the debug log
- reorder the fence io and request's err checking
- remove stray whitespace

V6:
- switch to ceph_inode_is_shutdown() to check the mount state
- fix two debug logs
- use the WRITE_ONCE to set the FENCE_IO state

V5:
- s/CEPH_MOUNT_CORRUPTED/CEPH_MOUNT_FENCE_IO/g

V4:
- block all the IO/metadata requests before evicting the client.

V3:
- Fixed ERROR: spaces required around that ':' (ctx:VxW)

V2:
- Switched to WARN() to taint the Linux kernel.

Xiubo Li (2):
ceph: move mount state enum to fs/ceph/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               |  9 +++++++++
 fs/ceph/mds_client.c         | 28 +++++++++++++++++++++++---
 fs/ceph/snap.c               | 38 ++++++++++++++++++++++++++++++++++--
 fs/ceph/super.h              | 11 +++++++++++
 include/linux/ceph/libceph.h | 10 ----------
 7 files changed, 109 insertions(+), 20 deletions(-)
Signature · 1 line
2.31.1