[PATCH 2/2] xfs/604: add missing falloc test

Darrick J. Wong
2023-11-20T19:35:20Z

From: Darrick J. Wong <djwong@kernel.org>

This test requires both the xfs_io falloc and fpunch commands to run.
falloc isn't supported on alwayscow=1 mounts, which means this test
fails there.

While we're at it, update the commit id since the fix was committed to
6.7-rc2.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
tests/xfs/604 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/xfs/604 b/tests/xfs/604
index 50cdebcd50..bb6db797e5 100755
--- a/tests/xfs/604
+++ b/tests/xfs/604
@@ -13,9 +13,10 @@ _begin_fstest auto prealloc punch

_supported_fs xfs
_require_scratch
+_require_xfs_io_command "falloc"
_require_xfs_io_command "fpunch"
_require_test_program punch-alternating
-_fixed_by_kernel_commit XXXXXXXXXXXX "xfs: fix internal error from AGFL exhaustion"
+_fixed_by_kernel_commit f63a5b3769ad "xfs: fix internal error from AGFL exhaustion"

# Disable the rmapbt so we only need to worry about splitting the bnobt and
# cntbt at the same time.