[缺陷描述]: xfstests:generic/646失败:_check_xfs_filesystem: filesystem on /dev/vdb1 is inconsistent (r) anck 5.10已经修复,缺陷:https://bugzilla.openanolis.cn/show_bug.cgi?id=1442,麻烦同步合并到anck 4.19分支; 失败日志如下: generic/646 _check_xfs_filesystem: filesystem on /dev/vdb1 is inconsistent (r) (see /tmp/tone/run/xfstests/results//generic/646.full for details) HINT: You _MAY_ be missing kernel fix: 50d25484bebe xfs: sync lazy sb accounting on quiesce of read-only mounts [重现概率] 必现 [测试步骤] 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/646 [测试环境] # uname -r 4.19.91-281.git.27d80ac.an7.x86_64 # cat /etc/os-release NAME="Anolis OS" VERSION="7.9" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="7.9" PRETTY_NAME="Anolis OS 7.9" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" BUG_REPORT_URL="https://bugs.openanolis.cn/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" CPU信息: # 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 CPU family: 6 Model: 106 Model name: Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz 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: 15G 279M 12G 508K 2.3G 14G Swap: 0B 0B 0B [期望结果]: 用例pass [实际结果]: 用例fail
anolis8 4.19 x86_64今日社区nightly有相同失败 用例执行日志如下: generic/646 _check_xfs_filesystem: filesystem on /dev/vdb2 is inconsistent (r) (see /tmp/tone/run/xfstests/results//generic/646.full for details) HINT: You _MAY_ be missing kernel fix: 50d25484bebe xfs: sync lazy sb accounting on quiesce of read-only mounts Ran: generic/646 Failures: generic/646 Failed 1 of 1 tests generic/646: Failed Test running: Done 内核: # uname -r 4.19.91-300.git.15bad77a1498.an8.x86_64
anolis8 4.19 aarch64社区nightly xfstest测试该case有相同失败
anolis7.9-4.19-x86_64环境generic/388有相同问题; 日志如下: generic/388 _check_xfs_filesystem: filesystem on /dev/vdb1 is inconsistent (r) (see /tmp/tone/run/xfstests/results//generic/388.full for details)
anolis7-4.19-x86 ck27.4有相同失败; 内核:4.19.91-27.4.an7.x86_64 失败日志如下: generic/646 _check_xfs_filesystem: filesystem on /dev/vdb2 is inconsistent (r) (see /tmp/tone/run/xfstests/results//generic/646.full for details) HINT: You _MAY_ be missing kernel fix: 50d25484bebe xfs: sync lazy sb accounting on quiesce of read-only mounts