From: Anna Schumaker <anna@kernel.org>
To: linux-nfs@vger.kernel.org, fstests@vger.kernel.org
Cc: anna@kernel.org
Subject: [PATCH] generic/033: Check that the 'fzero' operations supports KEEP_SIZE
Date: Thu, 24 Apr 2025 15:57:30 -0400 [thread overview]
Message-ID: <20250424195730.342846-1-anna@kernel.org> (raw)
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
next reply other threads:[~2025-04-24 19:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-24 19:57 Anna Schumaker [this message]
2025-04-24 21:36 ` [PATCH] generic/033: Check that the 'fzero' operations supports KEEP_SIZE Darrick J. Wong
2025-04-25 11:44 ` Zorro Lang
2025-04-25 15:22 ` Anna Schumaker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250424195730.342846-1-anna@kernel.org \
--to=anna@kernel.org \
--cc=fstests@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.