Re: [PATCH v2 00/24] ext4: enable block size larger than page size
From: Theodore Ts'o
Date: Tue Nov 11 2025 - 18:56:12 EST
On Fri, Nov 07, 2025 at 10:42:25PM +0800, libaokun@xxxxxxxxxxxxxxx wrote:
> `kvm-xfstests -c ext4/all -g auto` has been executed with no new failures.
> `kvm-xfstests -c ext4/64k -g auto` has been executed and no Oops was
> observed, but allocation failures for large folios may trigger warn_alloc()
> warnings.
I'm seeing some new failures. ext4/4k -g auto is running without any
failures, but when I tried to run ext4/64, I got:
ext4/64k: 607 tests, 16 failures, 101 skipped, 7277 seconds
Failures: ext4/033 generic/472 generic/493 generic/494 generic/495
generic/496 generic/497 generic/554 generic/569 generic/620
generic/636 generic/641 generic/643 generic/759 generic/760
Flaky: generic/251: 80% (4/5)
Totals: 671 tests, 101 skipped, 79 failures, 0 errors, 6782s
Some of the test failures may be because I was only using a 5G test
and scratch device, and with a 64k block sze, that might be too small.
But I tried using a 20G test device, and ext3/033 is still failing but
with a different error signature:
--- tests/ext4/033.out 2025-11-06 22:04:13.000000000 -0500
+++ /results/ext4/results-64k/ext4/033.out.bad 2025-11-11 17:57:31.149710364 -0500
@@ -1,6 +1,8 @@
QA output created by 033
Figure out block size
Format huge device
+mount: /vdf: fsconfig() failed: Structure needs cleaning.
+ dmesg(1) may have more information after failed mount system call.
I took a look at the generc/472 and that appears to be a swap on file failure:
root@kvm-xfstests:~# /vtmp/mke2fs.static -t ext4 -b 65536 -Fq /dev/vdc
Warning: blocksize 65536 not usable on most systems.
/dev/vdc contains a ext4 file system
created on Tue Nov 11 18:02:13 2025
root@kvm-xfstests:~# mount /dev/vdc /vdc
root@kvm-xfstests:~# fallocate -l 1G /vdc/swap
root@kvm-xfstests:~# mkswap /vdc/swap
mkswap: /vdc/swap: insecure permissions 0644, fix with: chmod 0600 /vdc/swap
Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=a6298248-abf1-42a1-b124-2f6b3be7f597
root@kvm-xfstests:~# swapon /vdc/swap
swapon: /vdc/swap: insecure permissions 0644, 0600 suggested.
swapon: /vdc/swap: swapon failed: Invalid argument
root@kvm-xfstests:~#
A number of the other tests (generic/493, generic/494, generic/495,
generic/496, generic/497, generic/554) are all swapfile tests.
I'm not sure why you're not seeing these issues; what version of
xfstests are you using? I recently uploaded a new test appliance[1]
can you try rerunning your tests with the latest test appliance for
kvm-xfstests?
[1] https://www.kernel.org/pub/linux/kernel/people/tytso/kvm-xfstests;
- Ted