Skip to content

ceph: wait async unlink to finish

Xiubo Li ceph-devel linux-fsdevel lkml 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 2 repliesIn review
  2. v52 patches 6 repliesSuperseded
  3. v42 patches 3 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v32 patches2 repliesSuperseded
v22 patches4 repliesSuperseded
v12 patches5 repliesSuperseded

Changes in v6 from the cover letter

- Remove the new d_compare() helper and export the d_same_name() instead
- Currently will use the EXPORT_SYMBOL_GPL instead.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fs/dcache: export d_same_name() helperfs/dcache.c include/linux/dcache.h+13 -42 replies
2/2ceph: wait the first reply of inflight async unlinkfs/ceph/dir.c fs/ceph/file.c fs/ceph/mds_client.c +3 more+167 -160 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJeff LaytonLuis Chamberlain
1/2R-b R-b
2/2R-b

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

Read the v6 thread

Cover letter [PATCH v6 0/2] ceph: wait async unlink to finish

V6:
- Remove the new d_compare() helper and export the d_same_name() instead
- Currently will use the EXPORT_SYMBOL_GPL instead.

V5:
- Fix the order of clearing the flag and hashtable

V4:
- Switch to use TASK_KILLABLE

V3:
- Removed WARN_ON_ONCE()/BUG_ON().
- Set the hashtable bit to 8.

V2:
- Add one dedicated spin lock to protect the list_add/del_rcu
- Other small fixes
- Fix the compile error from kernel test robot

Xiubo Li (2):
fs/dcache: export d_same_name() helper
ceph: wait the first reply of inflight async unlink

 fs/ceph/dir.c          | 79 +++++++++++++++++++++++++++++++++++++-----
 fs/ceph/file.c         |  6 +++-
 fs/ceph/mds_client.c   | 75 ++++++++++++++++++++++++++++++++++++++-
 fs/ceph/mds_client.h   |  1 +
 fs/ceph/super.c        |  3 ++
 fs/ceph/super.h        | 19 +++++++---
 fs/dcache.c            | 15 +++++---
 include/linux/dcache.h |  2 ++
 8 files changed, 180 insertions(+), 20 deletions(-)
Signature · 1 line
2.36.0.rc1