]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: support error injection when freeing rt extents
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:39:13 +0000 (12:39 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:46:53 +0000 (13:46 -0700)
commitf14a34d26483a4e36f69c0a586fc1d04b500bfa2
tree058365380931b2373a8958189869c5dc0e4ec40a
parentc24263bd12efe96eb864e3d23f814335864f5f52
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