ceph: remove the capsnaps when removing the caps
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 4 repliesIn review
- v23 patches 1 replySuperseded
- v13 patches 8 repliesSuperseded
Changes in v3 from the cover letter
- fix one crash bug in the first patch.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ceph: remove the capsnaps when removing the capsfs/ fs/ fs/ | +86 | 2 replies | |
| 2/3 | ceph: don't WARN if we're force umountingfs/ | +5 | 0 replies | |
| 3/3 | ceph: don't WARN if we're iterate removing the session capsfs/ fs/ fs/ | +32 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/3] ceph: remove the capsnaps when removing the caps
From: Xiubo Li <[email protected]>
V3:
- fix one crash bug in the first patch.
V2:
- minor fixes to clean up the code from Jeff's comments, thanks
- swith to use lockdep_assert_held().
Test this for around 5 hours and this patch series worked well for me, my test script is:
$ while [ 1 ]; do date; for d in A B C; do (for i in {1..3}; do ./bin/mount.ceph :/ /mnt/kcephfs.$d -o noshare; rm -rf /mnt/kcephfs.$d/file$i.txt; rmdir /mnt/kcephfs.$d/.snap/snap$i; dd if=/dev/zero of=/mnt/kcephfs.$d/file$i.txt bs=1M count=8; mkdir -p /mnt/kcephfs.$d/.snap/snap$i; umount -fl /mnt/kcephfs.$d; done ) & done; wait; date; doneXiubo Li (3):
ceph: remove the capsnaps when removing the caps
ceph: don't WARN if we're force umounting
ceph: don't WARN if we're iterate removing the session caps
fs/ceph/caps.c | 106 ++++++++++++++++++++++++++++++++----------- fs/ceph/mds_client.c | 40 ++++++++++++++-- fs/ceph/super.h | 7 +++ 3 files changed, 123 insertions(+), 30 deletions(-)
Signature · 1 line
2.27.0