[GIT PULL] gfs2 changes for 6.18

From: Andreas Gruenbacher

Date: Tue Sep 23 2025 - 05:06:00 EST


Dear Linus,

please consider pulling the following gfs2 changes for 6.18.

The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:

Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git tags/gfs2-for-6.18

for you to fetch changes up to 28c4d9bc0708956c1a736a9e49fee71b65deee81:

gfs2: Fix unlikely race in gdlm_put_lock (2025-09-12 12:03:01 +0200)

----------------------------------------------------------------
gfs2 changes

- Partially revert "gfs2: do_xmote fixes" to ignore dlm_lock() errors
during withdraw; passing on those errors doesn't help.

- Change the LM_FLAG_TRY and LM_FLAG_TRY_1CB logic in add_to_queue() to
check if the holder would actually block.

- Move some more dlm specific code from glock.c to lock_dlm.c.

- Remove the unused dlm alternate locking mode code.

- Add proper locking to make sure that dlm lockspaces are never used
after being released.

- Various other cleanups.

----------------------------------------------------------------
Andreas Gruenbacher (19):
gfs2: Remove unused GIF_FREE_VFS_INODE flag
gfs2: Remove unused sd_withdraw_wait field
gfs2: do_xmote cleanup
gfs2: Simplify refcounting in do_xmote
gfs2: Partially revert "gfs2: do_xmote fixes"
gfs2: Turn gfs2_withdraw into a void function
gfs2: Sanitize gfs2_meta_check, gfs2_metatype_check, gfs2_io_error
gfs2: Do not use atomic operations unnecessarily
gfs2: Further sanitize lock_dlm.c
gfs2: Remove DLM_LKF_ALTCW / DLM_LKF_ALTPR code
gfs2: Fix LM_FLAG_TRY* logic in add_to_queue
gfs2: Remove duplicate check in do_xmote
gfs2: Fix GLF_INVALIDATE_IN_PROGRESS flag clearing in do_xmote
gfs2: Get rid of GLF_INVALIDATE_IN_PROGRESS
gfs2: Simplify do_promote
gfs2: run_queue cleanup
gfs2: Minor run_queue fixes
gfs2: Add proper lockspace locking
gfs2: Fix unlikely race in gdlm_put_lock

Colin Ian King (1):
gfs2: Remove space before newline

fs/gfs2/file.c | 23 ++++---
fs/gfs2/glock.c | 185 +++++++++++++++++++++++----------------------------
fs/gfs2/glock.h | 4 ++
fs/gfs2/incore.h | 5 +-
fs/gfs2/lock_dlm.c | 100 +++++++++++++++++-----------
fs/gfs2/trace_gfs2.h | 1 -
fs/gfs2/util.c | 38 ++++-------
fs/gfs2/util.h | 36 +++++-----
8 files changed, 199 insertions(+), 193 deletions(-)