[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <406b10052920a617cb22b8cf5009e3db671d26da.1626844259.git.riteshh@linux.ibm.com>
Date: Wed, 21 Jul 2021 10:57:54 +0530
From: Ritesh Harjani <riteshh@...ux.ibm.com>
To: fstests@...r.kernel.org
Cc: linux-ext4@...r.kernel.org, "Theodore Ts'o" <tytso@....edu>,
"Darrick J . Wong" <djwong@...nel.org>,
Ritesh Harjani <riteshh@...ux.ibm.com>
Subject: [PATCHv2 1/9] ext4/003: Fix this test on 64K platform for dax config
mkfs.ext4 by default uses 4K blocksize which doesn't mount when testing
with dax config and the test fails. This patch fixes it.
Signed-off-by: Ritesh Harjani <riteshh@...ux.ibm.com>
---
tests/ext4/003 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/ext4/003 b/tests/ext4/003
index 3c9a8486..773bcb03 100755
--- a/tests/ext4/003
+++ b/tests/ext4/003
@@ -26,7 +26,8 @@ _supported_fs ext4
_require_scratch
_require_scratch_ext4_feature "bigalloc"
-$MKFS_EXT4_PROG -F -O bigalloc -C 65536 -g 256 $SCRATCH_DEV 512m \
+BLOCK_SIZE=$(get_page_size)
+$MKFS_EXT4_PROG -F -b $BLOCK_SIZE -O bigalloc -C $(($BLOCK_SIZE * 16)) -g 256 $SCRATCH_DEV 512m \
>> $seqres.full 2>&1
_scratch_mount
--
2.31.1
Powered by blists - more mailing lists