From: Alexander Aring <aahringo@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [RFC PATCH dlm/next 0/2] fs: dlm: remove reverse locking order
Date: Mon, 4 Oct 2021 16:58:03 -0400 [thread overview]
Message-ID: <20211004205805.3938460-1-aahringo@redhat.com> (raw)
Hi,
This patch series is another try to remove the ls_waiter_mutex and try to
make some locking behaviour in case of dlm_recover_waiters_pre().
Instead of earlier using the res_mutex to as a lock for some lkb fields,
this patch introduces a lkb lock, so it is less complex to keep track of
all locks which are needed to held.
- Alex
Alexander Aring (2):
fs: dlm: provide some lockless functionality
fs: dlm: change dlm logic locking behaviour
fs/dlm/debug_fs.c | 7 +-
fs/dlm/dlm_internal.h | 5 +-
fs/dlm/lock.c | 256 ++++++++++++++++++++++++++----------------
fs/dlm/lock.h | 10 ++
fs/dlm/lockspace.c | 9 +-
fs/dlm/recover.c | 5 +
6 files changed, 192 insertions(+), 100 deletions(-)
--
2.27.0
next reply other threads:[~2021-10-04 20:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-04 20:58 Alexander Aring [this message]
2021-10-04 20:58 ` [Cluster-devel] [RFC PATCH dlm/next 1/2] fs: dlm: provide some lockless functionality Alexander Aring
2021-10-04 20:58 ` [Cluster-devel] [RFC PATCH dlm/next 2/2] fs: dlm: change dlm logic locking behaviour Alexander Aring
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=20211004205805.3938460-1-aahringo@redhat.com \
--to=aahringo@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).