diff options
author | Anand Jain <anand.jain@oracle.com> | 2023-06-02 19:38:54 +0800 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2023-06-18 21:08:32 +0800 |
commit | 39bcfc9ab3dd235153078804706010c7dcaf39ba (patch) | |
tree | 0b95fc4e9d7929ae1d03346a4d0e778319968484 | |
parent | 8b88f4ca28ff93e3b87637a3f23d313d4118be6b (diff) | |
download | xfstests-dev-39bcfc9ab3dd235153078804706010c7dcaf39ba.tar.gz |
btrfs/122: fix nodesize option in mfks.btrfs
btrf/122 is failing on a system with 64k page size:
QA output created by 122
+ERROR: illegal nodesize 16384 (smaller than 65536)
+mount: /mnt/scratch: wrong fs type, bad option, bad superblock on /dev/vdb2, missing codepage or helper program, or other error.
+mount /dev/vdb2 /mnt/scratch failed
+(see /xfstests-dev/results//btrfs/122.full for details)
Mkfs.btrfs sets the default node size to 16K when the sector size is less
than 16K, and it matches the sector size when it's greater than 16K.
So, there's no need to explicitly set it.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Tested-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-x | tests/btrfs/122 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/btrfs/122 b/tests/btrfs/122 index 345317536f..0d585a9997 100755 --- a/tests/btrfs/122 +++ b/tests/btrfs/122 @@ -18,9 +18,7 @@ _supported_fs btrfs _require_scratch _require_btrfs_qgroup_report -# Force a small leaf size to make it easier to blow out our root -# subvolume tree -_scratch_mkfs "--nodesize 16384" >/dev/null +_scratch_mkfs >> $seqres.full _scratch_mount _run_btrfs_util_prog quota enable $SCRATCH_MNT |