Skip to content

RFC fs: dlm: remove reverse locking order

Alexander Aring cluster-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fs: dlm: provide some lockless functionalityfs/dlm/lock.c+48 -240 replies
2/2fs: dlm: change dlm logic locking behaviourfs/dlm/debug_fs.c fs/dlm/dlm_internal.h fs/dlm/lock.c +3 more+147 -790 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Cluster-devel] [RFC PATCH dlm/next 0/2] fs: dlm: remove reverse locking order

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(-)
Signature · 1 line
2.27.0