All of lore.kernel.org
 help / color / mirror / Atom feed
From: xiubli@redhat.com
To: idryomov@gmail.com, ceph-devel@vger.kernel.org
Cc: jlayton@kernel.org, mchangir@redhat.com, vshankar@redhat.com,
	lhenriques@suse.de, Xiubo Li <xiubli@redhat.com>
Subject: [PATCH v3 0/2] ceph: drop the messages from MDS when unmouting
Date: Mon, 30 Jan 2023 16:41:44 +0800	[thread overview]
Message-ID: <20230130084147.122440-1-xiubli@redhat.com> (raw)

From: Xiubo Li <xiubli@redhat.com>

V3:
- Fix the sequence of removing the requests from osdc and calling the
req->r_callback().
- Add a block counter to block the unmounting if there is any inflight
cap/snap/lease reply message is running.

V2:
- Fix it in ceph layer.

Xiubo Li (2):
  libceph: defer removing the req from osdc just after req->r_callback
  ceph: drop the messages from MDS when unmounting

 fs/ceph/caps.c        |  5 +++++
 fs/ceph/mds_client.c  | 12 +++++++++-
 fs/ceph/mds_client.h  | 11 ++++++++-
 fs/ceph/quota.c       |  4 ++++
 fs/ceph/snap.c        |  6 +++++
 fs/ceph/super.c       | 52 +++++++++++++++++++++++++++++++++++++++++++
 fs/ceph/super.h       |  2 ++
 net/ceph/osd_client.c | 43 ++++++++++++++++++++++++++++-------
 8 files changed, 125 insertions(+), 10 deletions(-)

-- 
2.31.1


             reply	other threads:[~2023-01-30  8:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-30  8:41 xiubli [this message]
2023-01-30  8:41 ` [PATCH v3 1/2] libceph: defer removing the req from osdc just after req->r_callback xiubli
2023-01-30  8:41 ` [PATCH v3 2/2] ceph: drop the messages from MDS when unmounting xiubli
2023-01-31  1:58 ` [PATCH v3 0/2] ceph: drop the messages from MDS when unmouting 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=20230130084147.122440-1-xiubli@redhat.com \
    --to=xiubli@redhat.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=idryomov@gmail.com \
    --cc=jlayton@kernel.org \
    --cc=lhenriques@suse.de \
    --cc=mchangir@redhat.com \
    --cc=vshankar@redhat.com \
    /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.