Skip to content

dlm: dlm lockspace release option updates

Alexander Aring gfs2 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dlm: check on unequal 3 to allow more valuesfs/dlm/lockspace.c+1 -10 replies
2/5dlm: introduce release parameter definesdrivers/md/md-cluster.c fs/dlm/lockspace.c fs/dlm/user.c +3 more+42 -200 replies
3/5dlm: add release recover attribute for leaving eventfs/dlm/lockspace.c+12 -70 replies
4/5dlm: add lockspace member configfs release_recoverfs/dlm/config.c fs/dlm/config.h fs/dlm/member.c+69 -40 replies
5/5dlm: introduce DLM_RELEASE_RECOVERfs/dlm/lockspace.c fs/dlm/member.c include/linux/dlm.h+16 -50 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH v6.16-rc7 0/5] dlm: dlm lockspace release option updates

Hi,

some cleanups for dlm_release_lockspace() updates to:
- introduce defines for exisiting values
- handle option for no event as 3 now to allow new values
- add value 4 as request from gfs2 dlm user to handle nodes as their failing in case of a failing event that is DLM user specific in contrast to only handle them as the node failed in a DLM specific event which is node got fenced.

to forward the new DLM_RELEASE_RECOVER value to other nodes a user space change is required which will be followed. Users should be care that all cluster nodes can handle this in user space to forward this value otherwise the feature does not work as intended.

Alexander Aring (5):
dlm: check on unequal 3 to allow more values
dlm: introduce release parameter defines
dlm: add release recover attribute for leaving event
dlm: add lockspace member configfs release_recover
dlm: introduce DLM_RELEASE_RECOVER

 drivers/md/md-cluster.c |  4 +--
 fs/dlm/config.c         | 64 +++++++++++++++++++++++++++++++++++++++--
 fs/dlm/config.h         |  2 ++
 fs/dlm/lockspace.c      | 39 +++++++++++++------------
 fs/dlm/member.c         | 21 ++++++++++----
 fs/dlm/user.c           |  6 ++--
 fs/gfs2/lock_dlm.c      |  4 +--
 fs/ocfs2/stack_user.c   |  2 +-
 include/linux/dlm.h     | 31 +++++++++++++++++++-
 9 files changed, 138 insertions(+), 35 deletions(-)
Signature · 1 line
2.43.0