Skip to contentSkip to conversation

dlm updates for 5.19

GIT PULL Merged David Teigland 2 participants 2 messages May 24, 2022 – May 25, 2022

lore
Share & tools
lore
#0 lore raw

Hi Linus,

Please pull dlm updates from tag:

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

This set includes several large patches to improve endian handling and remove sparse warnings. The code previously used in/out, in-place endianness conversion functions. Other code cleanup includes the list iterator changes. Finally, a long standing bug was found and fixed, caused by missed decrement on an lock struct ref count.

Thanks,
Dave

Alexander Aring (25):
dlm: fix missing check in validate_lock_args
dlm: fix plock invalid read
dlm: replace sanity checks with WARN_ON
dlm: cleanup plock_op vs plock_xop
dlm: rearrange async condition return
dlm: improve plock logging if interrupted
dlm: remove unnecessary INIT_LIST_HEAD()
dlm: move global to static inits
dlm: add __CHECKER__ for false positives
dlm: use __le types for options header
dlm: use __le types for dlm header
dlm: use __le types for rcom messages
dlm: use __le types for dlm messages
dlm: move conversion to compile time
dlm: remove __user conversion warnings
dlm: remove found label in dlm_master_lookup
dlm: cleanup lock handling in dlm_master_lookup
dlm: check required context while close
dlm: fix wake_up() calls for pending remove
dlm: fix pending remove if msg allocation fails
fs: dlm: cast resource pointer to uintptr_t
dlm: fix missing lkb refcount handling
dlm: remove unnecessary error assign
dlm: use kref_put_lock in put_rsb
dlm: use kref_put_lock in __put_lkb

Dan Carpenter (1):
dlm: uninitialized variable on error in dlm_listen_for_all()

Jakob Koschel (2):
dlm: remove usage of list iterator for list_add() after the loop body
dlm: replace usage of found with dedicated list iterator variable

 fs/dlm/dir.c          |   2 +-
 fs/dlm/dlm_internal.h |  66 ++++----
 fs/dlm/lock.c         | 654 ++++++++++++++++++++++++++++++++++++++++------------------------------------
 fs/dlm/lockspace.c    |  12 ++
 fs/dlm/lockspace.h    |   1 +
 fs/dlm/lowcomms.c     |  12 +-
 fs/dlm/member.c       |  11 +-
 fs/dlm/midcomms.c     |  61 ++++---
 fs/dlm/plock.c        | 178 ++++++++++-----------
 fs/dlm/rcom.c         | 120 +++++++-------
 fs/dlm/recover.c      |  49 +++---
 fs/dlm/requestqueue.c |  20 ++-
 fs/dlm/user.c         |  16 +-
 fs/dlm/util.c         |  92 +----------
 fs/dlm/util.h         |   8 +-
 15 files changed, 633 insertions(+), 669 deletions(-)