]> Gentwo Git Trees - linux/.git/commit
xfs: use deferred intent items for reaping crosslinked blocks
authorDarrick J. Wong <djwong@kernel.org>
Tue, 8 Apr 2025 23:14:32 +0000 (16:14 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 5 Sep 2025 15:48:21 +0000 (08:48 -0700)
commitcd32a0c0dcdf634f2e0e71f41c272e19dece6264
tree33d36fad7f355d5c44ad39bc43052f6163d05468
parentb320789d6883cc00ac78ce83bccbfe7ed58afcf0
xfs: use deferred intent items for reaping crosslinked blocks

When we're removing rmap records for crosslinked blocks, use deferred
intent items so that we can try to free/unmap as many of the old data
structure's blocks as we can in the same transaction as the commit.

Cc: <stable@vger.kernel.org> # v6.6
Fixes: 1c7ce115e52106 ("xfs: reap large AG metadata extents when possible")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/scrub/reap.c