Skip to contentSkip to conversation

dlm updates for 6.12

GIT PULL Merged David Teigland 2 participants 2 messages Sep 17, 2024 – Sep 19, 2024

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

Summary:

- Remove some unnecesary hold/unhold rsb refcounting in cases where an existing refcount is known to exist.
- Remove some unnecessary checking for zero nodeids, which should never exist, and add some warning if they do.
- Make the slow freeing of structs in release_lockspace() async, run from a workqueue.
- Prior rcu freeing allows some further struct lookups to run without a lock.
- Use blocking kernel_connect on sockets to avoid EINPROGRESS.

Thanks,
Dave

Alexander Aring (11):
dlm: cleanup memory allocation helpers
dlm: remove unnecessary refcounts
dlm: never return invalid nodeid by dlm_our_nodeid()
dlm: warn about invalid nodeid comparsions
dlm: drop kobject release callback handling
dlm: async freeing of lockspace resources
dlm: use RSB_HASHED to avoid lookup twice
dlm: move dlm_search_rsb_tree() out of lock
dlm: move lkb xarray lookup out of lock
dlm: do synchronized socket connect call
dlm: add missing -ENOMEM if alloc_workqueue() fails

 fs/dlm/config.c       |   2 +-
 fs/dlm/dlm_internal.h |   5 ++
 fs/dlm/lock.c         | 134 +++++++++++++++++++++++++++-----------------------
 fs/dlm/lock.h         |   2 +
 fs/dlm/lockspace.c    |  97 ++++++++++++++++++------------------
 fs/dlm/lowcomms.c     |  36 +-------------
 fs/dlm/main.c         |  12 +++++
 fs/dlm/member.c       |   2 +
 fs/dlm/memory.c       |  28 +++++------
 fs/dlm/memory.h       |   4 +-
 fs/dlm/recover.c      |   9 ++--
 11 files changed, 164 insertions(+), 167 deletions(-)