Skip to content

fs: dlm: prepare for deprecate DLM API

Alexander Aring cluster-devel 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/5fs: dlm: add comment about lkb IFL flagsfs/dlm/dlm_internal.h+7 -00 replies
1/5fs: dlm: add comment about lkb IFL flags+0 -00 replies
2/5fs: dlm: remove warn waiter handlingfs/dlm/config.c fs/dlm/config.h fs/dlm/dlm_internal.h +2 more+0 -900 replies
2/5fs: dlm: remove warn waiter handling+0 -00 replies
3/5fs: dlm: remove timeout from dlm_user_adopt_orphanfs/dlm/lock.c fs/dlm/lock.h fs/dlm/user.c+2 -30 replies
4/5fs: dlm: add API deprecation warningfs/dlm/Kconfig fs/dlm/lockspace.c fs/dlm/netlink.c +1 more+35 -10 replies
5/5fs: dlm: don't use deprecated API by defaultfs/dlm/Makefile fs/dlm/config.c fs/dlm/config.h +5 more+114 -50 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] [PATCH dlm/next 0/5] fs: dlm: prepare for deprecate DLM API

Hi,

This patch series deprecates some dlm API which will be removed in later Linux kernel releases (aim v5.22). Distribution should switch to CONFIG_DLM_DEPRECATED_API to N. Upcoming patches for libdlm will disable to use any of the deprecated API even if user sets it.

The reason to deprecate some API is that it's either not useful anymore or it makes probably some problems if it's getting used.

It's a little bit an ifdef-hell right now but it marks certain areas which will be removed in v5.22 (except the additional changes in the UAPI header).

- Alex

Alexander Aring (5):
fs: dlm: add comment about lkb IFL flags
fs: dlm: remove warn waiter handling
fs: dlm: remove timeout from dlm_user_adopt_orphan
fs: dlm: add API deprecation warning
fs: dlm: don't use deprecated API by default

 fs/dlm/Kconfig        |   9 +++
 fs/dlm/Makefile       |   2 +-
 fs/dlm/config.c       |  21 ++++---
 fs/dlm/config.h       |   3 +-
 fs/dlm/dlm_internal.h |  27 ++++++++-
 fs/dlm/lock.c         | 131 ++++++++++++++++--------------------------
 fs/dlm/lock.h         |   9 ++-
 fs/dlm/lockspace.c    |  22 ++++++-
 fs/dlm/netlink.c      |   8 +++
 fs/dlm/user.c         |  21 ++++++-
 10 files changed, 156 insertions(+), 97 deletions(-)
Signature · 1 line
2.31.1