]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: support error injection when freeing rt extents
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:44:12 +0000 (12:44 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:44:50 +0000 (13:44 -0700)
commit0851a8426f4c3a64a8783d258972dd43cd273b7d
tree53b1a4486998a80dbc7e4fc122455c3389fcc1ba
parent249202db044bef08ab71a8f9baa5d64ec4f57ec4
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>
libxfs/xfs_rtbitmap.c