public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfs: bug fixes for 6.4-rcX
@ 2023-05-17  0:04 Dave Chinner
  2023-05-17  0:04 ` [PATCH 1/4] xfs: buffer pins need to hold a buffer reference Dave Chinner
                   ` (4 more replies)
  0 siblings, 5 replies; 23+ messages in thread
From: Dave Chinner @ 2023-05-17  0:04 UTC (permalink / raw)
  To: linux-xfs

Hi folks,

The following patches are fixes for recently discovered problems.
I'd like to consider them all for a 6.4-rc merge, though really only
patch 2 is a necessary recent regression fix.

The first patch addresses a long standing buffer UAF during shutdown
situations, where shutdown log item completions can race with CIL
abort and iclog log item completions.

The second patch addresses a small performance regression from the
6.3 allocator rewrite which is also a potential AGF-AGF deadlock
vector as it allows out-of-order locking.

The third patch is a change needed by patch 4, which I split out for
clarity. By itself it does nothing.

The fourth patch is a fix for a AGI->AGF->inode cluster buffer lock
ordering deadlock. This was introduced when we started pinning inode
cluster buffers in xfs_trans_log_inode() in 5.8 to fix long-standing
inode reclaim blocking issues, but I've only seen it in the wild
once on a system making heavy use of OVL and hence O_TMPFILE based
operations.

This has all passed through fstests without any issues being
detected, but wider testing would be appreciated along with review.

-Dave.


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

end of thread, other threads:[~2023-06-25 22:34 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-17  0:04 xfs: bug fixes for 6.4-rcX Dave Chinner
2023-05-17  0:04 ` [PATCH 1/4] xfs: buffer pins need to hold a buffer reference Dave Chinner
2023-05-17  1:26   ` Darrick J. Wong
2023-05-17 12:58   ` Christoph Hellwig
2023-05-17 22:24     ` Dave Chinner
2023-05-17  0:04 ` [PATCH 2/4] xfs: restore allocation trylock iteration Dave Chinner
2023-05-17  1:11   ` Darrick J. Wong
2023-05-17 12:59   ` Christoph Hellwig
2023-05-17  0:04 ` [PATCH 3/4] xfs: defered work could create precommits Dave Chinner
2023-05-17  1:20   ` Darrick J. Wong
2023-05-17  1:44     ` Dave Chinner
2023-06-01 15:01   ` Christoph Hellwig
2023-05-17  0:04 ` [PATCH 4/4] xfs: fix AGF vs inode cluster buffer deadlock Dave Chinner
2023-05-17  1:26   ` Darrick J. Wong
2023-05-17  1:47     ` Dave Chinner
2023-06-01  1:51     ` Dave Chinner
2023-06-01 14:38       ` Darrick J. Wong
2023-06-01 15:12   ` Christoph Hellwig
2023-06-25  2:58   ` Matthew Wilcox
2023-06-25 22:34     ` Dave Chinner
2023-05-17  7:07 ` xfs: bug fixes for 6.4-rcX Amir Goldstein
2023-05-17 11:34   ` Dave Chinner
2023-05-17 12:48     ` Amir Goldstein

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