From: xiubli@redhat.com
To: jlayton@kernel.org, idryomov@gmail.com, zyan@redhat.com
Cc: pdonnell@redhat.com, ceph-devel@vger.kernel.org,
Xiubo Li <xiubli@redhat.com>
Subject: [PATCH v2 0/2] ceph: fix dead lock and double lock
Date: Mon, 25 May 2020 07:16:23 -0400 [thread overview]
Message-ID: <1590405385-27406-1-git-send-email-xiubli@redhat.com> (raw)
From: Xiubo Li <xiubli@redhat.com>
Changed in V2:
- do not check the caps when reconnecting to mds
- switch ceph_async_check_caps() to ceph_async_put_cap_refs()
Xiubo Li (2):
ceph: add ceph_async_put_cap_refs to avoid double lock and deadlock
ceph: do not check the caps when reconnecting to mds
fs/ceph/caps.c | 45 +++++++++++++++++++++++++++++++++++++++++++--
fs/ceph/dir.c | 2 +-
fs/ceph/file.c | 2 +-
fs/ceph/inode.c | 3 +++
fs/ceph/mds_client.c | 24 ++++++++++++++++--------
fs/ceph/mds_client.h | 3 ++-
fs/ceph/super.h | 7 +++++++
7 files changed, 73 insertions(+), 13 deletions(-)
--
1.8.3.1
next reply other threads:[~2020-05-25 11:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-25 11:16 xiubli [this message]
2020-05-25 11:16 ` [PATCH v2 1/2] ceph: add ceph_async_put_cap_refs to avoid double lock and deadlock xiubli
2020-05-26 3:11 ` Yan, Zheng
2020-05-26 3:38 ` Xiubo Li
2020-05-26 6:29 ` Yan, Zheng
2020-05-26 7:30 ` Xiubo Li
2020-05-26 3:52 ` Xiubo Li
2020-05-25 11:16 ` [PATCH v2 2/2] ceph: do not check the caps when reconnecting to mds xiubli
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=1590405385-27406-1-git-send-email-xiubli@redhat.com \
--to=xiubli@redhat.com \
--cc=ceph-devel@vger.kernel.org \
--cc=idryomov@gmail.com \
--cc=jlayton@kernel.org \
--cc=pdonnell@redhat.com \
--cc=zyan@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 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).