linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/2] ceph: wait async unlink to finish
@ 2022-05-26  1:17 Xiubo Li
  2022-05-26  1:17 ` [PATCH v6 1/2] fs/dcache: export d_same_name() helper Xiubo Li
  2022-05-26  1:17 ` [PATCH v6 2/2] ceph: wait the first reply of inflight async unlink Xiubo Li
  0 siblings, 2 replies; 5+ messages in thread
From: Xiubo Li @ 2022-05-26  1:17 UTC (permalink / raw)
  To: jlayton, idryomov, viro
  Cc: willy, vshankar, ceph-devel, arnd, mcgrof, akpm, linux-fsdevel,
	linux-kernel, Xiubo Li

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

-- 
2.36.0.rc1


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

end of thread, other threads:[~2022-07-07  1:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-26  1:17 [PATCH v6 0/2] ceph: wait async unlink to finish Xiubo Li
2022-05-26  1:17 ` [PATCH v6 1/2] fs/dcache: export d_same_name() helper Xiubo Li
2022-07-06 21:57   ` Luis Chamberlain
2022-07-07  1:20     ` Xiubo Li
2022-05-26  1:17 ` [PATCH v6 2/2] ceph: wait the first reply of inflight async unlink Xiubo Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).