]> www.infradead.org Git - users/dwmw2/linux.git/commit
xfs: support error injection when freeing rt extents
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:19:27 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:42 +0000 (13:38 -0800)
commitfc91d9430e5dd2008ef6c1350fa15c1a0ed17f11
tree1cd90ef912389b4c0f859ce96f1d65a15fe90aaa
parent4c8900bbf106592ce647285e308abd2a7f080d88
xfs: support error injection when freeing rt extents

A handful of fstests expect to be able to test what happens when extent
free intents fail to actually free the extent.  Now that we're
supporting EFIs for realtime extents, add to xfs_rtfree_extent the same
injection point that exists in the regular extent freeing code.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_rtbitmap.c