All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/2] ceph: blocklist the kclient when receiving corrupted snap trace
@ 2023-02-01  1:36 xiubli
  2023-02-01  1:36 ` [PATCH v7 1/2] ceph: move mount state enum to fs/ceph/super.h xiubli
  2023-02-01  1:36 ` [PATCH v7 2/2] ceph: blocklist the kclient when receiving corrupted snap trace xiubli
  0 siblings, 2 replies; 7+ messages in thread
From: xiubli @ 2023-02-01  1:36 UTC (permalink / raw)
  To: idryomov, ceph-devel; +Cc: jlayton, mchangir, vshankar, lhenriques, Xiubo Li

From: Xiubo Li <xiubli@redhat.com>

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(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-02-02 13:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-01  1:36 [PATCH v7 0/2] ceph: blocklist the kclient when receiving corrupted snap trace xiubli
2023-02-01  1:36 ` [PATCH v7 1/2] ceph: move mount state enum to fs/ceph/super.h xiubli
2023-02-01  1:36 ` [PATCH v7 2/2] ceph: blocklist the kclient when receiving corrupted snap trace xiubli
2023-02-01 13:12   ` Ilya Dryomov
2023-02-02  2:30     ` Xiubo Li
2023-02-02 13:11       ` Ilya Dryomov
2023-02-02 13:47         ` Xiubo Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.