Linux XFS filesystem development
 help / color / mirror / Atom feed
From: Siddh Raman Pant <siddh.raman.pant@oracle.com>
To: "Darrick J . Wong" <djwong@kernel.org>,
	linux-xfs@vger.kernel.org, stable@vger.kernel.org
Cc: Dave Chinner <dchinner@redhat.com>,
	linux-kernel@vger.kernel.org, Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.12 v2 0/6] Backport of XFS umount hang fixes
Date: Tue, 13 Oct 2026 13:42:40 +0530	[thread overview]
Message-ID: <cover.1791877865.git.siddh.raman.pant@oracle.com> (raw)
In-Reply-To: <2026-10-01-1-daily-reply-0012-re-xfs-umount-hang-backports@kernel.org>

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 (672 tests; gaps)

		Failures before changes:
			Count: 4
			IDs: 633, 696, 697, 753

		Failures after changes:
			Count: 4
			IDs: 633, 696, 697, 753

		No new success or failure after changes.

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

		Failures before changes:
			Count: 2
			IDs: 300, 556

		Failures after changes:
			Count: 2
			IDs: 300, 556

		No new success or failure after changes.

Thanks,
Siddh

Dave Chinner (6):
  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

 fs/xfs/libxfs/xfs_alloc.c  |  41 ++++-
 fs/xfs/libxfs/xfs_ialloc.c |  31 +++-
 fs/xfs/xfs_buf.c           |  55 -------
 fs/xfs/xfs_buf.h           |   1 -
 fs/xfs/xfs_buf_item.c      | 297 ++++++++++++++++++++++---------------
 fs/xfs/xfs_buf_item.h      |   3 +-
 fs/xfs/xfs_dquot.c         |   4 +-
 fs/xfs/xfs_icache.c        |   8 +
 fs/xfs/xfs_inode.c         |   2 +-
 fs/xfs/xfs_qm.c            |  87 +++--------
 fs/xfs/xfs_trace.h         |   1 -
 11 files changed, 270 insertions(+), 260 deletions(-)

-- 
2.53.0


WARNING: multiple messages have this Message-ID (diff)
From: Siddh Raman Pant <siddh.raman.pant@oracle.com>
To: "Darrick J . Wong" <djwong@kernel.org>,
	linux-xfs@vger.kernel.org, stable@vger.kernel.org
Cc: Dave Chinner <dchinner@redhat.com>,
	linux-kernel@vger.kernel.org, Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.6 v2 0/5] Backport of XFS umount hang fixes
Date: Tue, 13 Oct 2026 13:43:15 +0530	[thread overview]
Message-ID: <cover.1791877865.git.siddh.raman.pant@oracle.com> (raw)
Message-ID: <20261013081315.-OIvJFq_AJDCPs1WZGZQE80QM5jHd-_nKuWG-imDe8Y@z> (raw)
In-Reply-To: <2026-10-01-1-daily-reply-0012-re-xfs-umount-hang-backports@kernel.org>

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 (672 tests; gaps)

		Failures before changes:
			Count: 7
			IDs: 363, 365, 633, 645, 696, 697, 753

		Failures after changes:
			Count: 7
			IDs: 363, 365, 633, 645, 696, 697, 753

		No new success or failure after changes.

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

		Failures before changes:
			Count: 1
			IDs: 300

		Failures after changes:
			Count: 1
			IDs: 300

		No new success or failure after changes.

Thanks,
Siddh

Dave Chinner (5):
  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

 fs/xfs/libxfs/xfs_alloc.c  |  46 ++++--
 fs/xfs/libxfs/xfs_ialloc.c |  32 +++-
 fs/xfs/xfs_buf_item.c      | 299 ++++++++++++++++++++++---------------
 fs/xfs/xfs_buf_item.h      |   3 +-
 fs/xfs/xfs_icache.c        |   8 +
 fs/xfs/xfs_inode.c         |   2 +-
 6 files changed, 256 insertions(+), 134 deletions(-)

-- 
2.53.0


       reply	other threads:[~2026-10-13  8:12 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2026-10-01-1-daily-reply-0012-re-xfs-umount-hang-backports@kernel.org>
2026-10-13  8:12 ` Siddh Raman Pant [this message]
2026-10-13  8:12   ` [PATCH 6.12 v2 1/6] xfs: xfs_ifree_cluster vs xfs_iflush_shutdown_abort deadlock Siddh Raman Pant
2026-10-13  8:12   ` [PATCH 6.12 v2 2/6] xfs: catch stale AGF/AGF metadata Siddh Raman Pant
2026-10-13  8:12   ` [PATCH 6.12 v2 3/6] xfs: avoid dquot buffer pin deadlock Siddh Raman Pant
2026-10-13  8:12   ` [PATCH 6.12 v2 4/6] xfs: rearrange code in xfs_buf_item.c Siddh Raman Pant
2026-10-13  8:12   ` [PATCH 6.12 v2 5/6] xfs: factor out stale buffer item completion Siddh Raman Pant
2026-10-13  8:12   ` [PATCH 6.12 v2 6/6] xfs: fix unmount hang with unflushable inodes stuck in the AIL Siddh Raman Pant
2026-10-13  8:13   ` [PATCH 6.6 v2 0/5] Backport of XFS umount hang fixes Siddh Raman Pant
2026-10-13  8:13   ` [PATCH 6.6 v2 1/5] xfs: xfs_ifree_cluster vs xfs_iflush_shutdown_abort deadlock Siddh Raman Pant
2026-10-13  8:13   ` [PATCH 6.6 v2 2/5] xfs: catch stale AGF/AGF metadata Siddh Raman Pant
2026-10-13  8:13   ` [PATCH 6.6 v2 3/5] xfs: rearrange code in xfs_buf_item.c Siddh Raman Pant
2026-10-13  8:13   ` [PATCH 6.6 v2 4/5] xfs: factor out stale buffer item completion Siddh Raman Pant
2026-10-13  8:13   ` [PATCH 6.6 v2 5/5] xfs: fix unmount hang with unflushable inodes stuck in the AIL Siddh Raman Pant
2026-10-13  8:13 ` [PATCH 6.1 v2 0/5] Backport of XFS umount hang fixes Siddh Raman Pant
2026-10-13  8:13   ` [PATCH 6.1 v2 1/5] xfs: xfs_ifree_cluster vs xfs_iflush_shutdown_abort deadlock Siddh Raman Pant
2026-10-13  8:13   ` [PATCH 6.1 v2 2/5] xfs: catch stale AGF/AGF metadata Siddh Raman Pant
2026-10-13  8:13   ` [PATCH 6.1 v2 3/5] xfs: rearrange code in xfs_buf_item.c Siddh Raman Pant
2026-10-13  8:13   ` [PATCH 6.1 v2 4/5] xfs: factor out stale buffer item completion Siddh Raman Pant
2026-10-13  8:13   ` [PATCH 6.1 v2 5/5] xfs: fix unmount hang with unflushable inodes stuck in the AIL Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.15 v2 0/9] Backport of XFS umount hang fixes Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.15 v2 1/9] xfs: log items should have a xlog pointer, not a mount Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.15 v2 2/9] xfs: aborting inodes on shutdown may need buffer lock Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.15 v2 3/9] xfs: fix super block buf log item UAF during force shutdown Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.15 v2 4/9] xfs: buffer pins need to hold a buffer reference Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.15 v2 5/9] xfs: xfs_ifree_cluster vs xfs_iflush_shutdown_abort deadlock Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.15 v2 6/9] xfs: catch stale AGF/AGF metadata Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.15 v2 7/9] xfs: rearrange code in xfs_buf_item.c Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.15 v2 8/9] xfs: factor out stale buffer item completion Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.15 v2 9/9] xfs: fix unmount hang with unflushable inodes stuck in the AIL Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.10 v2 00/19] Backport of XFS umount hang fixes Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.10 v2 01/19] xfs: hoist recovered bmap intent checks out of xfs_bui_item_recover Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.10 v2 02/19] xfs: improve the code that checks recovered bmap intent items Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.10 v2 03/19] xfs: hoist recovered rmap intent checks out of xfs_rui_item_recover Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.10 v2 04/19] xfs: improve the code that checks recovered rmap intent items Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.10 v2 05/19] xfs: hoist recovered refcount intent checks out of xfs_cui_item_recover Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.10 v2 06/19] xfs: improve the code that checks recovered refcount intent items Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.10 v2 07/19] xfs: don't nest icloglock inside ic_callback_lock Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.10 v2 08/19] xfs: convert XLOG_FORCED_SHUTDOWN() to xlog_is_shutdown() Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.10 v2 09/19] xfs: log items should have a xlog pointer, not a mount Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.10 v2 10/19] xfs: aborting inodes on shutdown may need buffer lock Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.10 v2 11/19] xfs: remove xfs_buf_t typedef Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.10 v2 12/19] xfs: fix super block buf log item UAF during force shutdown Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.10 v2 13/19] xfs: fix intermittent hang during quotacheck Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.10 v2 14/19] xfs: buffer pins need to hold a buffer reference Siddh Raman Pant
2026-10-13  8:14   ` [PATCH 5.10 v2 15/19] xfs: xfs_ifree_cluster vs xfs_iflush_shutdown_abort deadlock Siddh Raman Pant
2026-10-13  8:15   ` [PATCH 5.10 v2 16/19] xfs: catch stale AGF/AGF metadata Siddh Raman Pant
2026-10-13  8:15   ` [PATCH 5.10 v2 17/19] xfs: rearrange code in xfs_buf_item.c Siddh Raman Pant
2026-10-13  8:15   ` [PATCH 5.10 v2 18/19] xfs: factor out stale buffer item completion Siddh Raman Pant
2026-10-13  8:15   ` [PATCH 5.10 v2 19/19] xfs: fix unmount hang with unflushable inodes stuck in the AIL Siddh Raman Pant
2026-10-13  8:46   ` [PATCH 6.1 v2 0/5] Backport of XFS umount hang fixes Greg KH
2026-10-13  9:10     ` Siddh Raman Pant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1791877865.git.siddh.raman.pant@oracle.com \
    --to=siddh.raman.pant@oracle.com \
    --cc=dchinner@redhat.com \
    --cc=djwong@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox