From: Ilya Dryomov <idryomov@gmail.com>
To: ceph-devel@vger.kernel.org
Cc: Dongsheng Yang <dongsheng.yang@easystack.cn>
Subject: [PATCH v2 0/3] rbd: reduce the potential for erroneous blocklisting
Date: Tue, 25 Jul 2023 23:28:43 +0200 [thread overview]
Message-ID: <20230725212847.137672-1-idryomov@gmail.com> (raw)
Hello,
This came out of snapshot-based mirroring work. Patches 1 and 2 are
preparatory, patch 3 fixes the issue (in as much as reasonable).
v1 -> v2:
- ceph_addr_is_blank() was missing an export
- amended locker equality semantics to ignore addr->type and moved the
function to rbd.c
Thanks,
Ilya
Ilya Dryomov (3):
rbd: make get_lock_owner_info() return a single locker or NULL
rbd: harden get_lock_owner_info() a bit
rbd: retrieve and check lock owner twice before blocklisting
drivers/block/rbd.c | 124 ++++++++++++++++++++++++++++++-------------
net/ceph/messenger.c | 1 +
2 files changed, 87 insertions(+), 38 deletions(-)
--
2.41.0
next reply other threads:[~2023-07-25 21:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-25 21:28 Ilya Dryomov [this message]
2023-07-25 21:28 ` [PATCH v2 1/3] rbd: make get_lock_owner_info() return a single locker or NULL Ilya Dryomov
2023-07-25 21:28 ` [PATCH v2 2/3] rbd: harden get_lock_owner_info() a bit Ilya Dryomov
2023-07-25 21:28 ` [PATCH v2 3/3] rbd: retrieve and check lock owner twice before blocklisting Ilya Dryomov
[not found] ` <AJYA4wAxJMc9WiAuqHSSGKra.3.1690375435133.Hmail.dongsheng.yang@easystack.cn>
2023-07-26 13:06 ` Ilya Dryomov
2023-07-26 14:43 ` 杨东升
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=20230725212847.137672-1-idryomov@gmail.com \
--to=idryomov@gmail.com \
--cc=ceph-devel@vger.kernel.org \
--cc=dongsheng.yang@easystack.cn \
/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