Description of problem: anolis8 x86_64环境,内部nightly xfstests xfs测试case:generic/127执行失败。 Version-Release number of selected component (if applicable): How reproducible: #TEST_DEV/SCRATCH_DEV为文件系统所在的磁盘或分区 export TEST_DEV=/dev/vdb1 export SCRATCH_DEV=/dev/vdb2 export FSTYP=xfs #TEST_DIR/SCRATCH_MNT表示待测试文件系统的挂载目录 export SCRATCH_MNT=/fs/vdb2 export TEST_DIR=/fs/vdb1 cd xfstests安装目录 ./check generic/127 Actual results: # ./check generic/127 FSTYP -- xfs (non-debug) PLATFORM -- Linux/x86_64 iZ2ze3mwre17l937kpurunZ 5.10.134-cbp.git.3ca91871c.an8.x86_64 #1 SMP Wed Nov 26 12:39:16 UTC 2025 MKFS_OPTIONS -- -f /dev/vdb2 MOUNT_OPTIONS -- /dev/vdb2 /fs/vdb2 generic/127 36s ... - output mismatch (see /tmp/tone/run/xfstests/results//generic/127.out.bad) --- tests/generic/127.out 2025-11-26 22:48:34.979927129 +0800 +++ /tmp/tone/run/xfstests/results//generic/127.out.bad 2025-11-28 17:36:50.641296075 +0800 @@ -1,7 +1,10940 @@ QA output created by 127 +/tmp/tone/run/xfstests/ltp/fsx -f -q -l 262144 -o 65536 -S 191110531 -N 100000 -R -W fsx_std_nommap +READ BAD DATA: offset = 0xa36, size = 0xb2a8, fname = /fs/vdb1/fsx_std_nommap_flush +OFFSET GOOD BAD RANGE +0x8000 0xe102 0x0000 0x0 +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +0x8001 0x02e1 0x0000 0x1 ... (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/127.out /tmp/tone/run/xfstests/results//generic/127.out.bad' to see the entire diff) Ran: generic/127 Failures: generic/127 Failed 1 of 1 tests # diff -u /tmp/tone/run/xfstests/tests/generic/127.out /tmp/tone/run/xfstests/results//generic/127.out.bad +/tmp/tone/run/xfstests/ltp/fsx -q -l 262144 -o 65536 -S 191110531 -N 100000 -R -W fsx_std_nommap +READ BAD DATA: offset = 0xa36, size = 0xb2a8, fname = /fs/vdb1/fsx_std_nommap +OFFSET GOOD BAD RANGE +0x8000 0xe102 0x0000 0x0 +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +0x8001 0x02e1 0x0000 0x1 +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +0x8002 0xe17d 0x0000 0x2 +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +0x8003 0x7de1 0x0000 0x3 +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +0x8004 0xe1a3 0x0000 0x4 +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +0x8005 0xa3e1 0x0000 0x5 +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +0x8006 0xe193 0x0000 0x6 +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +0x8007 0x93e1 0x0000 0x7 +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +0x8008 0xe18d 0x0000 0x8 +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +0x8009 0x8de1 0x0000 0x9 +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +0x800a 0xe1be 0x0000 0xa +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +0x800b 0xbee1 0x0000 0xb +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +0x800c 0xe1e6 0x0000 0xc +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +0x800d 0xe6e1 0x0000 0xd +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +0x800e 0xe179 0x0000 0xe +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +0x800f 0x79e1 0x0000 0xf +operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops +LOG DUMP (1782 total operations): +1( 1 mod 256): TRUNCATE UP from 0x0 to 0x814f +2( 2 mod 256): WRITE 0x44ef thru 0x10efe (0xca10 bytes) EXTEND ***WWWW +3( 3 mod 256): PUNCH 0xac15 thru 0xcb68 (0x1f54 bytes) +4( 4 mod 256): COLLAPSE 0xb000 thru 0xdfff (0x3000 bytes) +5( 5 mod 256): READ 0x94d thru 0x416e (0x3822 bytes) +6( 6 mod 256): DEDUPE 0x6000 thru 0x6fff (0x1000 bytes) to 0x1000 thru 0x1fff +7( 7 mod 256): SKIPPED (no operation) +8( 8 mod 256): READ 0x9ec0 thru 0xdefe (0x403f bytes) ***RRRR*** +9( 9 mod 256): COLLAPSE 0x9000 thru 0xcfff (0x4000 bytes) ******CCCC +10( 10 mod 256): FALLOC 0x24e74 thru 0x32390 (0xd51c bytes) EXTENDING +11( 11 mod 256): SKIPPED (no operation) +12( 12 mod 256): CLONE 0x2b000 thru 0x2bfff (0x1000 bytes) to 0x2f000 thru 0x2ffff +13( 13 mod 256): PUNCH 0x306d thru 0x10696 (0xd62a bytes) ******PPPP +14( 14 mod 256): READ 0xa06c thru 0x18df0 (0xed85 bytes) +15( 15 mod 256): TRUNCATE DOWN from 0x32390 to 0x2b44a +16( 16 mod 256): READ 0x17338 thru 0x1b999 (0x4662 bytes) +17( 17 mod 256): WRITE 0x1bbfd thru 0x27420 (0xb824 bytes) +18( 18 mod 256): PUNCH 0x12954 thru 0x1a02f (0x76dc bytes) +19( 19 mod 256): PUNCH 0x23d0 thru 0xf961 (0xd592 bytes) ******PPPP +20( 20 mod 256): DEDUPE 0x15000 thru 0x1bfff (0x7000 bytes) to 0x1f000 thru 0x25fff +21( 21 mod 256): COPY 0x23eac thru 0x283c8 (0x451d bytes) to 0x7a99 thru 0xbfb5 ******EEEE +22( 22 mod 256): READ 0xc7e9 thru 0x1b72e (0xef46 bytes) +23( 23 mod 256): TRUNCATE DOWN from 0x2b44a to 0x221a ******WWWW +24( 24 mod 256): SKIPPED (no operation) +25( 25 mod 256): SKIPPED (no operation) +26( 26 mod 256): SKIPPED (no operation) +27( 27 mod 256): READ 0x152a thru 0x2219 (0xcf0 bytes) +28( 28 mod 256): TRUNCATE UP from 0x221a to 0x14466 ******WWWW +29( 29 mod 256): COLLAPSE 0x1000 thru 0x3fff (0x3000 bytes) +30( 30 mod 256): SKIPPED (no operation) +31( 31 mod 256): COPY 0x989b thru 0xdec0 (0x4626 bytes) to 0x39694 thru 0x3dcb9 EEEE****** +32( 32 mod 256): READ 0x1af93 thru 0x1dc27 (0x2c95 bytes) +33( 33 mod 256): TRUNCATE DOWN from 0x3dcba to 0x2f0b5 +34( 34 mod 256): TRUNCATE DOWN from 0x2f0b5 to 0x1acac +35( 35 mod 256): INSERT 0x10000 thru 0x1cfff (0xd000 bytes) +36( 36 mod 256): SKIPPED (no operation) +37( 37 mod 256): WRITE 0x3bf50 thru 0x3ffff (0x40b0 bytes) HOLE +38( 38 mod 256): READ 0x214d0 thru 0x2e73e (0xd26f bytes) +39( 39 mod 256): DEDUPE 0x6000 thru 0xbfff (0x6000 bytes) to 0x37000 thru 0x3cfff BBBB****** +40( 40 mod 256): SKIPPED (no operation) +41( 41 mod 256): SKIPPED (no operation) +42( 42 mod 256): CLONE 0x19000 thru 0x21fff (0x9000 bytes) to 0x10000 thru 0x18fff +43( 43 mod 256): ZERO 0x279b4 thru 0x2f3ad (0x79fa bytes) +44( 44 mod 256): WRITE 0x279da thru 0x35031 (0xd658 bytes) +45( 45 mod 256): DEDUPE 0x38000 thru 0x3bfff (0x4000 bytes) to 0x10000 thru 0x13fff +46( 46 mod 256): PUNCH 0x1a2eb thru 0x21225 (0x6f3b bytes) +47( 47 mod 256): CLONE 0x3e000 thru 0x3efff (0x1000 bytes) to 0x1e000 thru 0x1efff +48( 48 mod 256): PUNCH 0x3bf5f thru 0x3ffff (0x40a1 bytes) +49( 49 mod 256): TRUNCATE DOWN from 0x40000 to 0x2314 ******WWWW +50( 50 mod 256): COPY 0x1f95 thru 0x2313 (0x37f bytes) to 0x126d9 thru 0x12a57 Expected results: case pass Additional info: # uname -r 5.10.134-cbp.git.3ca91871c.an8.x86_64 # cat /etc/os-release NAME="Anolis OS" VERSION="8.9" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.9" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.9" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" # df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 7.6G 0 7.6G 0% /dev tmpfs 7.6G 0 7.6G 0% /dev/shm tmpfs 7.6G 520K 7.6G 1% /run tmpfs 7.6G 0 7.6G 0% /sys/fs/cgroup /dev/vda3 40G 9.6G 28G 26% / /dev/vda2 200M 5.8M 195M 3% /boot/efi tmpfs 1.6G 0 1.6G 0% /run/user/0 # free -g total used free shared buff/cache available Mem: 15 0 14 0 0 14 Swap: 0 0 0 # cat /proc/cmdline BOOT_IMAGE=(hd0,gpt3)/boot/vmlinuz-5.10.134-cbp.git.3ca91871c.an8.x86_64 root=UUID=d9dd46c5-8041-4c35-a62d-07cc68ebba5a ro cryptomgr.notests rcupdate.rcu_cpu_stall_timeout=300 vring_force_dma_api spec_rstack_overflow=off rhgb quiet biosdevname=0 net.ifnames=0 console=tty0 console=ttyS0,115200n8 noibrs nvme_core.io_timeout=4294967295 nvme_core.admin_timeout=4294967295 cgroup.memory=nokmem crashkernel=0M-2G:0M,2G-8G:192M,8G-128G:256M,128G-376G:384M,376G-:448M kfence.sample_interval=100 kfence.booting_max=0-2G:0,2G-32G:2M,32G-:32M preempt=none [root@l57h15217 xfstests]# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel BIOS Vendor ID: Alibaba Cloud CPU family: 6 Model: 106 Model name: Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz BIOS Model name: pc-i440fx-2.1 Stepping: 6 CPU MHz: 3490.007 BogoMIPS: 5399.99 Hypervisor vendor: KVM Virtualization type: full L1d cache: 48K L1i cache: 32K L2 cache: 1280K L3 cache: 49152K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves wbnoinvd arat avx512vbmi pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm arch_capabilities