Skip to content

fs: dlm: pending patches for v6.3-rc1

Alexander Aring cluster-devel 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/212 patches 0 repliesNew
  2. v2 posting 1/21 patch 0 repliesSuperseded
  3. v11 patch 0 repliesSuperseded

changes since v2 from the cover letter

- 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.

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12fs: dlm: fix DLM_IFL_CB_PENDING gets overwrittenfs/dlm/ast.c fs/dlm/dlm_internal.h fs/dlm/user.c+9 -70 replies
2/12fs: dlm: add unbound flag to dlm_io workqueuefs/dlm/lowcomms.c+2 -20 replies
3/12DLM: increase socket backlog to avoid hangs with 16 nodesfs/dlm/lowcomms.c+1 -10 replies
4/12fs: dlm: remove deprecated code partsfs/dlm/Kconfig fs/dlm/Makefile fs/dlm/config.c +13 more+6 -5330 replies
5/12fs: dlm: rename stub to local message flagfs/dlm/dlm_internal.h fs/dlm/lock.c fs/dlm/lockspace.c +1 more+60 -600 replies
6/12fs: dlm: remove DLM_IFL_LOCAL_MS flagfs/dlm/dlm_internal.h fs/dlm/lock.c include/trace/events/dlm.h+33 -340 replies
7/12fs: dlm: store lkb distributed flags into own valuefs/dlm/ast.c fs/dlm/debug_fs.c fs/dlm/dlm_internal.h +5 more+29 -410 replies
8/12fs: dlm: change dflags to use atomic bitsfs/dlm/ast.c fs/dlm/debug_fs.c fs/dlm/dlm_internal.h +5 more+65 -250 replies
9/12fs: dlm: move internal flags to atomic opsfs/dlm/debug_fs.c fs/dlm/dlm_internal.h fs/dlm/lock.c +3 more+90 -830 replies
10/12fs: dlm: rsb hash table flag value to atomic opsfs/dlm/dlm_internal.h fs/dlm/lock.c+6 -60 replies
11/12fs: dlm: switch lkb_sbflags to atomic opsfs/dlm/dlm_internal.h fs/dlm/lock.c+38 -120 replies
12/12fs: dlm: switch ls_exflags to atomic opsfs/dlm/dlm_internal.h fs/dlm/lockspace.c fs/dlm/rcom.c+26 -50 replies

Reviews trailers per patch

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

Read the v2 thread

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

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
Signature · 1 line
2.31.1