All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] generic/033: Check that the 'fzero' operations supports KEEP_SIZE
@ 2025-04-24 19:57 Anna Schumaker
  2025-04-24 21:36 ` Darrick J. Wong
  0 siblings, 1 reply; 4+ messages in thread
From: Anna Schumaker @ 2025-04-24 19:57 UTC (permalink / raw)
  To: linux-nfs, fstests; +Cc: anna

From: Anna Schumaker <anna.schumaker@oracle.com>

Otherwise this test will fail on filesystems that implement
FALLOC_FL_ZERO_RANGE but not the optional FALLOC_FL_KEEP_SIZE flag.

Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
---
 tests/generic/033 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/generic/033 b/tests/generic/033
index a9a9ff5a3431..a33f6add67bf 100755
--- a/tests/generic/033
+++ b/tests/generic/033
@@ -20,7 +20,7 @@ _begin_fstest auto quick rw zero
 
 # Modify as appropriate.
 _require_scratch
-_require_xfs_io_command "fzero"
+_require_xfs_io_command "fzero" "-k"
 
 _scratch_mkfs >/dev/null 2>&1
 _scratch_mount
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-04-25 15:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-24 19:57 [PATCH] generic/033: Check that the 'fzero' operations supports KEEP_SIZE Anna Schumaker
2025-04-24 21:36 ` Darrick J. Wong
2025-04-25 11:44   ` Zorro Lang
2025-04-25 15:22     ` Anna Schumaker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.