]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: support error injection when freeing rt extents
authorDarrick J. Wong <djwong@kernel.org>
Mon, 25 Nov 2024 21:14:23 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:30 +0000 (18:01 -0800)
commite200799d5bbd43fba8e3ef51ca503a2a017f1a06
treedf376f9b061f983e20cb1410ac4bdd8299d5b86e
parent2f8a0a5a02af8a10873c04dea33a4d6811cc3f7f
xfs: support error injection when freeing rt extents

Source kernel commit: fc91d9430e5dd2008ef6c1350fa15c1a0ed17f11

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