All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xiubo Li <xiubli@redhat.com>
To: jlayton@kernel.org, idryomov@gmail.com, viro@zeniv.linux.org.uk
Cc: willy@infradead.org, vshankar@redhat.com,
	ceph-devel@vger.kernel.org, arnd@arndb.de, mcgrof@kernel.org,
	akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org,
	linux-kernel@vger.kernel.org, Xiubo Li <xiubli@redhat.com>
Subject: [PATCH v6 0/2] ceph: wait async unlink to finish
Date: Thu, 26 May 2022 09:17:35 +0800	[thread overview]
Message-ID: <20220526011737.371483-1-xiubli@redhat.com> (raw)

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


             reply	other threads:[~2022-05-26  1:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-26  1:17 Xiubo Li [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220526011737.371483-1-xiubli@redhat.com \
    --to=xiubli@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=ceph-devel@vger.kernel.org \
    --cc=idryomov@gmail.com \
    --cc=jlayton@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcgrof@kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    --cc=vshankar@redhat.com \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.