From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Aring Date: Mon, 4 Oct 2021 16:58:03 -0400 Subject: [Cluster-devel] [RFC PATCH dlm/next 0/2] fs: dlm: remove reverse locking order Message-ID: <20211004205805.3938460-1-aahringo@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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