cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH dlm/next 0/5] fs: dlm: prepare for deprecate DLM API
@ 2022-06-17 20:00 Alexander Aring
  2022-06-17 20:00 ` [Cluster-devel] [PATCH dlm/next 1/5] fs: dlm: add comment about lkb IFL flags Alexander Aring
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Alexander Aring @ 2022-06-17 20:00 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-06-17 22:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-17 20:00 [Cluster-devel] [PATCH dlm/next 0/5] fs: dlm: prepare for deprecate DLM API Alexander Aring
2022-06-17 20:00 ` [Cluster-devel] [PATCH dlm/next 1/5] fs: dlm: add comment about lkb IFL flags Alexander Aring
2022-06-17 22:28   ` Alexander Aring
2022-06-17 20:00 ` [Cluster-devel] [PATCH dlm/next 2/5] fs: dlm: remove warn waiter handling Alexander Aring
2022-06-17 22:29   ` Alexander Aring
2022-06-17 20:00 ` [Cluster-devel] [PATCH dlm/next 3/5] fs: dlm: remove timeout from dlm_user_adopt_orphan Alexander Aring
2022-06-17 20:00 ` [Cluster-devel] [PATCH dlm/next 4/5] fs: dlm: add API deprecation warning Alexander Aring
2022-06-17 20:00 ` [Cluster-devel] [PATCH dlm/next 5/5] fs: dlm: don't use deprecated API by default Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).