[PATCH 5.15 00/11] Backport of XFS umount hang fixes
From: Siddh Raman Pant
Date: Thu Oct 01 2026 - 10:56:54 EST
Backport of this series:
https://lore.kernel.org/all/20250625224957.1436116-1-david@xxxxxxxxxxxxx/
Along with appropriate pre-requisite commits.
Previous stable backport was used for doing this backport.
I have added information in commit message upon conflict resolutions.
Dave Chinner (10):
xfs: log items should have a xlog pointer, not a mount
xfs: aborting inodes on shutdown may need buffer lock
xfs: dquot shrinker doesn't check for XFS_DQFLAG_FREEING
xfs: buffer pins need to hold a buffer reference
xfs: xfs_ifree_cluster vs xfs_iflush_shutdown_abort deadlock
xfs: catch stale AGF/AGF metadata
xfs: avoid dquot buffer pin deadlock
xfs: rearrange code in xfs_buf_item.c
xfs: factor out stale buffer item completion
xfs: fix unmount hang with unflushable inodes stuck in the AIL
Guo Xuenan (1):
xfs: fix super block buf log item UAF during force shutdown
fs/xfs/libxfs/xfs_alloc.c | 45 ++++-
fs/xfs/libxfs/xfs_ialloc.c | 32 +++-
fs/xfs/xfs_bmap_item.c | 2 +-
fs/xfs/xfs_buf.c | 55 ------
fs/xfs/xfs_buf.h | 1 -
fs/xfs/xfs_buf_item.c | 378 ++++++++++++++++++++++++-------------
fs/xfs/xfs_buf_item.h | 3 +-
fs/xfs/xfs_dquot.c | 3 +-
fs/xfs/xfs_extfree_item.c | 2 +-
fs/xfs/xfs_icache.c | 10 +-
fs/xfs/xfs_inode.c | 4 +-
fs/xfs/xfs_inode_item.c | 162 +++++++++++++---
fs/xfs/xfs_inode_item.h | 1 +
fs/xfs/xfs_log.c | 2 +-
fs/xfs/xfs_log_cil.c | 2 +-
fs/xfs/xfs_qm.c | 95 +++-------
fs/xfs/xfs_refcount_item.c | 2 +-
fs/xfs/xfs_rmap_item.c | 2 +-
fs/xfs/xfs_trace.h | 5 +-
fs/xfs/xfs_trans.c | 2 +-
fs/xfs/xfs_trans.h | 3 +-
21 files changed, 495 insertions(+), 316 deletions(-)
--
2.53.0