[GIT PULL] dlm updates for 5.20

From: David Teigland
Date: Mon Jul 11 2022 - 09:36:52 EST

Hi Linus,

Please pull dlm updates from tag:

git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm.git dlm-5.20

Changes in this set of commits:

. Delay the cleanup of interrupted posix lock requests until the
user space result arrives. Previously, the immediate cleanup
would lead to extraneous warnings when the result arrived.

. Tracepoint improvements, e.g. adding the lock resource name.

. Delay the completion of lockspace creation until one full recove
cycle has completed. This allows more error cases to be returned
the caller.

. Remove warnings from the locking layer about delayed network rep
The recently added midcomms warnings are much more useful.

. Begin the process of deprecating two unused lock-timeout-related
features. These features now require enabling via a Kconfig opti
and enabling them triggers deprecation warnings. We expect to
remove the code in v5.22.


Alexander Aring (19):
fs: dlm: plock use list_first_entry
fs: dlm: add pid to debug log
fs: dlm: change plock interrupted message to debug again
fs: dlm: use dlm_plock_info for do_unlock_close
fs: dlm: change posix lock sigint handling
fs: dlm: change ast and bast trace order
fs: dlm: remove additional dereference of lksb
fs: dlm: add resource name to tracepoints
fs: dlm: update comments about recovery and membership handling
fs: dlm: call dlm_lsop_recover_prep once
fs: dlm: make new_lockspace() wait until recovery completes
fs: dlm: handle recovery result outside of ls_recover
fs: dlm: add comment about lkb IFL flags
fs: dlm: fix grammar in lowcomms output
fs: dlm: remove waiter warnings
fs: dlm: remove timeout from dlm_user_adopt_orphan
fs: dlm: add deprecation Kconfig and warnings for timeouts
fs: dlm: don't use deprecated timeout features by default
fs: dlm: move kref_put assert for lkb structs

fs/dlm/Kconfig | 9 +++
fs/dlm/Makefile | 2 +-
fs/dlm/ast.c | 4 +-
fs/dlm/config.c | 21 ++++---
fs/dlm/config.h | 3 +-
fs/dlm/dlm_internal.h | 32 ++++++++--
fs/dlm/lock.c | 143 ++++++++++++++++++---------------------------
fs/dlm/lock.h | 17 +++++-
fs/dlm/lockspace.c | 31 +++++++---
fs/dlm/lowcomms.c | 4 +-
fs/dlm/member.c | 30 +++++-----
fs/dlm/plock.c | 51 +++++++++++-----
fs/dlm/recoverd.c | 35 +++++++++--
fs/dlm/user.c | 21 ++++++-
include/trace/events/dlm.h | 118 ++++++++++++++++++++++++++++++-------
15 files changed, 351 insertions(+), 170 deletions(-)