FS/XFS testing framework
 help / color / mirror / Atom feed
From: XiaoLi Feng <xifeng@redhat.com>
To: fstests@vger.kernel.org, bfoster@redhat.com
Cc: Xiaoli Feng <xifeng@redhat.com>
Subject: [PATCH v1] generic/042: change the test file size from 25m to 26m.
Date: Thu, 16 Nov 2023 16:44:14 +0800	[thread overview]
Message-ID: <20231116084414.21258-1-xifeng@redhat.com> (raw)

From: Xiaoli Feng <xifeng@redhat.com>

When mkfs with "-d su=2m,sw=1" that DAX 2 MiB hugepage faults
request, it need the multiples of 2 file size. So Change to 26M.

Signed-off-by: Xiaoli Feng <xifeng@redhat.com>
---

Hello Brian,

I'd like to change the test file size to 26M. Are there any special requirement
for 25M file size?

Thanks.

 tests/generic/042 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/generic/042 b/tests/generic/042
index 5116183f..c583f0ae 100755
--- a/tests/generic/042
+++ b/tests/generic/042
@@ -27,7 +27,7 @@ _crashtest()
 	img=$SCRATCH_MNT/$seq.img
 	mnt=$SCRATCH_MNT/$seq.mnt
 	file=$mnt/file
-	size=25M
+	size=26M
 
 	# f2fs-utils 1.9.0 needs at least 38 MB space for f2fs image. However,
 	# f2fs-utils 1.14.0 needs at least 52 MB. Not sure if it will change
-- 
2.39.1


                 reply	other threads:[~2023-11-16  8:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20231116084414.21258-1-xifeng@redhat.com \
    --to=xifeng@redhat.com \
    --cc=bfoster@redhat.com \
    --cc=fstests@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox