[PATCH v5 0/2] ceph: wait async unlink to finish

Xiubo Li posted 2 patches 3 years, 11 months ago
There is a newer version of this series
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, 184 insertions(+), 16 deletions(-)
[PATCH v5 0/2] ceph: wait async unlink to finish
Posted by Xiubo Li 3 years, 11 months ago
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: add d_compare() helper support
  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, 184 insertions(+), 16 deletions(-)

-- 
2.36.0.rc1