Description of problem: xfstests:xfs/542失败,_check_xfs_filesystem: filesystem on /dev/vdb2 is inconsistent (r) anck5.10已经修复:https://bugzilla.openanolis.cn/show_bug.cgi?id=1458 失败日志如下: xfs/542 _check_xfs_filesystem: filesystem on /dev/vdb2 is inconsistent (r) (see /tmp/tone/run/xfstests/results//xfs/542.full for details) HINT: You _MAY_ be missing kernel fix: 5ca5916b6bc9 xfs: punch out data fork delalloc blocks on COW writeback failure How reproducible: 必现 Steps to Reproduce: 1. 准备环境 wipefs -a --force /dev/vdb1 wipefs -a --force /dev/vdb2 wipefs -a --force /dev/vdb3 wipefs -a --force /dev/vdb4 mkfs -t xfs -L OStest -q -f /dev/vdb1 mkfs -t xfs -L OStest -q -f /dev/vdb2 mkfs -t xfs -L OStest -q -f /dev/vdb3 mkfs -t xfs -L OStest -q -f /dev/vdb4 export FSTYP=xfs export TEST_DIR=/fs/vdb1 export TEST_DEV=/dev/vdb1 export SCRATCH_MNT=/fs/vdb2 export SCRATCH_DEV=/dev/vdb2 mkdir -p /fs/vdb1 /fs/vdb2 2. 下载xfstests测试代码并编译 git clone --branch anck-4.19 https://gitee.com/anolis/xfstests.git cd xfstests export CFLAGS="-fcommon" make make install 3.执行测试用例 ./check tests/xfs/542 Actual results: 用例执行失败 Expected results: 用例执行成功 Additional info: # uname -r 4.19.91-300.git.15bad77a1498.an8.x86_64 # cat /etc/os-release NAME="Anolis OS" VERSION="8.6" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.6" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.6" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" # 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: 2699.998 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 nonstop_tsc cpuid 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 # free -h total used free shared buff/cache available Mem: 15Gi 375Mi 10Gi 0.0Ki 3.8Gi 14Gi Swap: 0B 0B 0B
anolis8.6 aarch64环境也同样问题存在