RFC fs: dlm: remove reverse locking order
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | fs: dlm: provide some lockless functionalityfs/ | +48 | 0 replies | |
| 2/2 | fs: dlm: change dlm logic locking behaviourfs/ fs/ fs/ +3 more | +147 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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