]> 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>
Tue, 5 Nov 2024 21:36:14 +0000 (13:36 -0800)
commit59917ae06f159f4524d5a9bcdf78275be359c4a0
tree1cd90ef912389b4c0f859ce96f1d65a15fe90aaa
parentb2261f4327d44d3b719d4919f1af9d68e34169d1
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