diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2025-10-20 11:49:51 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-23 16:20:41 +0200 |
| commit | 88ad39711bfb557249c238272f8dfb0c41b3f36f (patch) | |
| tree | b19aeb77eb3fa46cc66eb2302d2ae1e25923f728 /include/net/aligned_data.h | |
| parent | e9fd43b799d231319e1d00b05bd8310f0dadc99d (diff) | |
xfs: use deferred intent items for reaping crosslinked blocks
[ Upstream commit cd32a0c0dcdf634f2e0e71f41c272e19dece6264 ]
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>
[ adapted xfs_refcount_free_cow_extent() and xfs_rmap_free_extent() ]
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
