[Cluster-devel] [PATCHv2 v6.3-rc1 00/12] fs: dlm: pending patches for v6.3-rc1

Alexander Aring aahringo at redhat.com
Mon Mar 6 20:48:07 UTC 2023


Hi,

this patch-series contains all pending patches and should be able to
apply on the v6.3-rc1 release. I added a patch to this series to remove
the deprecated API code parts. Also I changed a little bit the commit
message from "Edwin Török" to remove some "|" and white space at the end
of the line. Added patches to make flag handling atomically, at least we
had avoidable problems with iflags... however it is not completely
atomically yet and can might be improved more in future.

The first patch is already submitted to stable and should be backported
to releases since the issue came in.

- Alex

changes since v2:
- use BIT meaning for bit defines
- rebase on v6.3-rc1 (but there were no conflicts)
- add patch to rename stub to local
- changes shared flags to distributed flags
- add patch to split distributed flags into own
  value instead of directly convert internal flags
  to atomic bit ops. Means lkb_iflags values stays
  mostly the same for debugfs. They just don't
  contain USER and ORPHAN anymore which are now in
  lkb_dflags.
- add patches for other flag handling which _might_
  be used in a different context which could run
  parallel with other flag manipulation. However
  setting or reading bit values need to be safe and
  is not done atomically.

Alexander Aring (11):
  fs: dlm: fix DLM_IFL_CB_PENDING gets overwritten
  fs: dlm: add unbound flag to dlm_io workqueue
  fs: dlm: remove deprecated code parts
  fs: dlm: rename stub to local message flag
  fs: dlm: remove DLM_IFL_LOCAL_MS flag
  fs: dlm: store lkb distributed flags into own value
  fs: dlm: change dflags to use atomic bits
  fs: dlm: move internal flags to atomic ops
  fs: dlm: rsb hash table flag value to atomic ops
  fs: dlm: switch lkb_sbflags to atomic ops
  fs: dlm: switch ls_exflags to atomic ops

Edwin Török (1):
  DLM: increase socket backlog to avoid hangs with 16 nodes

 fs/dlm/Kconfig                    |   9 -
 fs/dlm/Makefile                   |   1 -
 fs/dlm/ast.c                      |  11 +-
 fs/dlm/config.c                   |  21 --
 fs/dlm/config.h                   |   3 -
 fs/dlm/debug_fs.c                 |   8 +-
 fs/dlm/dlm_internal.h             | 177 ++++++----
 fs/dlm/lock.c                     | 531 ++++++++++--------------------
 fs/dlm/lock.h                     |  17 -
 fs/dlm/lockspace.c                |  31 +-
 fs/dlm/lowcomms.c                 |   6 +-
 fs/dlm/main.c                     |   9 +-
 fs/dlm/memory.c                   |   2 +-
 fs/dlm/netlink.c                  | 139 --------
 fs/dlm/rcom.c                     |   8 +-
 fs/dlm/recover.c                  |   2 +-
 fs/dlm/recoverd.c                 |   2 -
 fs/dlm/user.c                     |  34 +-
 include/linux/dlm.h               |   3 -
 include/trace/events/dlm.h        |  12 +-
 include/uapi/linux/dlm.h          |   1 +
 include/uapi/linux/dlm_netlink.h  |  60 ----
 include/uapi/linux/dlmconstants.h |   5 +-
 23 files changed, 324 insertions(+), 768 deletions(-)
 delete mode 100644 fs/dlm/netlink.c
 delete mode 100644 include/uapi/linux/dlm_netlink.h

-- 
2.31.1



More information about the Cluster-devel mailing list