Linux XFS filesystem development
 help / color / mirror / Atom feed
* [PATCH RESEND 5.15 v2 0/9] Backport of XFS umount hang fixes
@ 2026-10-13  9:38 Siddh Raman Pant
  2026-10-13  9:38 ` [PATCH RESEND 5.15 v2 1/9] xfs: log items should have a xlog pointer, not a mount Siddh Raman Pant
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Siddh Raman Pant @ 2026-10-13  9:38 UTC (permalink / raw)
  To: Darrick J . Wong, linux-xfs, stable
  Cc: Dave Chinner, linux-kernel, Sasha Levin, Mark Tinguely

Backport of this series:
https://lore.kernel.org/all/20250625224957.1436116-1-david@fromorbit.com/

I have added information in commit message upon conflict resolutions.

v2: Address Sasha's comments to v1 in the below mail:
https://lore.kernel.org/stable/2026-10-01-1-daily-reply-0012-re-xfs-umount-hang-backports@kernel.org/

xfstests_xfs testing results:
	Generic:
		Ran: 001 to 771 (671 tests; gaps)

		Failures before changes:
			Count: 19
			IDs: 075, 083, 091, 112, 127, 263, 269,
			     270, 363, 365, 373, 374, 645, 700,
			     733, 753, 754, 759, 760

		Failures after changes:
			Count: 19
			IDs: 075, 083, 091, 112, 127, 263, 269,
			     270, 363, 365, 373, 374, 645, 700,
			     733, 753, 754, 759, 760

		No new success or failure after changes.

	XFS:
		Ran: 001 to 789 (312 tests; gaps)

		Failures before changes:
			Count: 10
			IDs: 104, 168, 179, 300, 348, 442, 557,
			     597, 598, 609

		Failures after changes:
			Count: 10
			IDs: 104, 168, 179, 300, 348, 442, 557,
			     597, 598, 609

		No new success or failure after changes.

Thanks,
Siddh

Dave Chinner (8):
  xfs: log items should have a xlog pointer, not a mount
  xfs: aborting inodes on shutdown may need buffer lock
  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: 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_item.c      | 382 ++++++++++++++++++++++++-------------
 fs/xfs/xfs_buf_item.h      |   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    | 164 +++++++++++++---
 fs/xfs/xfs_inode_item.h    |   1 +
 fs/xfs/xfs_log.c           |   2 +-
 fs/xfs/xfs_log_cil.c       |   2 +-
 fs/xfs/xfs_refcount_item.c |   2 +-
 fs/xfs/xfs_rmap_item.c     |   2 +-
 fs/xfs/xfs_trace.h         |   4 +-
 fs/xfs/xfs_trans.c         |   2 +-
 fs/xfs/xfs_trans.h         |   3 +-
 17 files changed, 467 insertions(+), 195 deletions(-)

-- 
2.53.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-10-13  9:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-13  9:38 [PATCH RESEND 5.15 v2 0/9] Backport of XFS umount hang fixes Siddh Raman Pant
2026-10-13  9:38 ` [PATCH RESEND 5.15 v2 1/9] xfs: log items should have a xlog pointer, not a mount Siddh Raman Pant
2026-10-13  9:38 ` [PATCH RESEND 5.15 v2 2/9] xfs: aborting inodes on shutdown may need buffer lock Siddh Raman Pant
2026-10-13  9:38 ` [PATCH RESEND 5.15 v2 3/9] xfs: fix super block buf log item UAF during force shutdown Siddh Raman Pant
2026-10-13  9:38 ` [PATCH RESEND 5.15 v2 4/9] xfs: buffer pins need to hold a buffer reference Siddh Raman Pant
2026-10-13  9:38 ` [PATCH RESEND 5.15 v2 5/9] xfs: xfs_ifree_cluster vs xfs_iflush_shutdown_abort deadlock Siddh Raman Pant
2026-10-13  9:38 ` [PATCH RESEND 5.15 v2 6/9] xfs: catch stale AGF/AGF metadata Siddh Raman Pant
2026-10-13  9:38 ` [PATCH RESEND 5.15 v2 7/9] xfs: rearrange code in xfs_buf_item.c Siddh Raman Pant
2026-10-13  9:38 ` [PATCH RESEND 5.15 v2 8/9] xfs: factor out stale buffer item completion Siddh Raman Pant
2026-10-13  9:39 ` [PATCH RESEND 5.15 v2 9/9] xfs: fix unmount hang with unflushable inodes stuck in the AIL Siddh Raman Pant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox