Description of problem: Abolis8 aarch64在物理机环境下,内部的nightly测试,xfstests ext4-nfsv4.1-2测试集generic/614执行异常 。 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 磁盘提前分两块盘 mkfs -t ext4 -q -F /dev/nvme0n1p2 mkdir -p /fs/nvme0n1p1 mount -t ext4 /dev/nvme0n1p1 /fs/nvme0n1p1 mkdir -p /fs/nvme0n1p2 mount -t ext4 /dev/nvme0n1p2 /fs/nvme0n1p2 yum install -y nfs-utils nfs4-acl-tools mkdir -p /export mount -t tmpfs nfsv4_root_export /export mkdir -p /export//fs/nvme0n1p1 mount --bind /fs/nvme0n1p1 /export//fs/nvme0n1p1 echo '/export *(fsid=0,rw,no_subtree_check,no_root_squash)' > /etc/exports echo '/export//fs/nvme0n1p1 *(rw,no_subtree_check,no_root_squash)' >> /etc/exports mkdir -p /export//fs/nvme0n1p2 mount --bind /fs/nvme0n1p2 /export//fs/nvme0n1p2 echo '/export//fs/nvme0n1p2 *(rw,no_subtree_check,no_root_squash)' >> /etc/exports systemctl restart rpcbind systemctl restart nfs-server exportfs -r mkdir -p /nfs/nvme0n1p1 mount -t nfs -o vers=4.1 localhost:/fs/nvme0n1p1 /nfs/nvme0n1p1 mkdir -p /nfs/nvme0n1p2 mount -t nfs -o vers=4.1 localhost:/fs/nvme0n1p2 /nfs/nvme0n1p2 umount -f -l /nfs/nvme0n1p1 /nfs/nvme0n1p2 /fs/nvme0n1p1 /fs/nvme0n1p2 export TEST_DIR=/nfs/nvme0n1p1 export TEST_DEV=/dev/nvme0n1p1 export nfsvers=4.1 export FSTYP=nfs export SCRATCH_MNT=/fs/scratch mkdir /nfs/nvme0n1p1 -p mkdir /fs/scratch -p chmod 755 -R /fs export SCRATCH_DEV=/dev/nvme0n1p2 export TEST_DIR=/nfs/nvme0n1p1 export SCRATCH_MNT=/nfs/nvme0n1p2 export TEST_DEV=localhost:/fs/nvme0n1p1 export SCRATCH_DEV=localhost:/fs/nvme0n1p2 export 'TEST_FS_MOUNT_OPTS=-o vers=4.1' export 'MOUNT_OPT 下载内部xfstests测试代码库,执行编译,安装操作 cd xfstests/ ./check -nfs tests/generic/614 Actual results: [root@l57h15216 xfstests]# ./check -nfs tests/generic/614 FSTYP -- nfs PLATFORM -- Linux/aarch64 l57h15216 4.19.91-901.git.0923bc4cf5.an8.aarch64 #1 SMP Thu Nov 2 13:55:10 UTC 2023 MKFS_OPTIONS -- localhost:/fs/nvme0n1p2 MOUNT_OPTIONS -- -o vers=4.1 localhost:/fs/nvme0n1p2 /nfs/nvme0n1p2 generic/614 - output mismatch (see /tmp/tone/run/xfstests/results//generic/614.out.bad) --- tests/generic/614.out 2023-11-03 17:56:46.112216019 +0800 +++ /tmp/tone/run/xfstests/results//generic/614.out.bad 2023-10-23 11:20:56.723130291 +0800 @@ -1,2 +1,3 @@ QA output created by 614 +error: stat(2) reported 0 used blocks Silence is golden ... (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/614.out /tmp/tone/run/xfstests/results//generic/614.out.bad' to see the entire diff) Ran: generic/614 Failures: generic/614 Failed 1 of 1 tests Expected results: [root@l57h15216 xfstests]# diff -u /tmp/tone/run/xfstests/tests/generic/614.out /tmp/tone/run/xfstests/results//generic/614.out.bad --- /tmp/tone/run/xfstests/tests/generic/614.out 2023-11-03 17:56:46.112216019 +0800 +++ /tmp/tone/run/xfstests/results//generic/614.out.bad 2023-10-23 11:31:22.770893378 +0800 @@ -1,2 +1,3 @@ QA output created by 614 +error: stat(2) reported 0 used blocks Silence is golden [root@l57h15216 xfstests]# [root@l57h15216 xfstests]# uname -r 4.19.91-901.git.0923bc4cf5.an8.aarch64 [root@l57h15216 xfstests]# cat /etc/anolis-release Anolis OS release 8.8 Additional info: [root@l57h15216 xfstests]# cat /etc/anolis-release Anolis OS release 8.8 [root@l57h15216 xfstests]# uname -a Linux l57h15216.sqa.nu8.tbsite.net 4.19.91-901.git.0923bc4cf5.an8.aarch64 #1 SMP Thu Nov 2 13:55:10 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux [root@l57h15216 xfstests]# [root@l57h15216 xfstests]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 378G 0 378G 0% /dev tmpfs 378G 0 378G 0% /dev/shm tmpfs 378G 2.5M 378G 1% /run tmpfs 378G 0 378G 0% /sys/fs/cgroup /dev/sda2 20G 9.8G 8.3G 55% / /dev/sda1 500M 6.8M 494M 2% /boot/efi tmpfs 76G 0 76G 0% /run/user/0 nfsv4_root_export 378G 0 378G 0% /export /dev/nvme0n1p1 697G 585M 661G 1% /export/fs/nvme0n1p1 /dev/nvme0n1p2 699G 73M 663G 1% /export/fs/nvme0n1p2 [root@l57h15216 xfstests]# [root@l57h15216 xfstests]# free -g total used free shared buff/cache available Mem: 755 3 750 0 1 748 Swap: 0 0 0 [root@l57h15216 xfstests]# [root@l57h15216 xfstests]# lscpu Architecture: aarch64 Byte Order: Little Endian CPU(s): 96 On-line CPU(s) list: 0-95 Thread(s) per core: 1 Core(s) per socket: 48 Socket(s): 2 NUMA node(s): 1 Vendor ID: HiSilicon BIOS Vendor ID: HiSilicon Model: 0 Model name: Kunpeng-920 BIOS Model name: HUAWEI Kunpeng 920 5250 Stepping: 0x1 CPU MHz: 2600.000 CPU max MHz: 2600.0000 CPU min MHz: 200.0000 BogoMIPS: 200.00 L1d cache: 64K L1i cache: 64K L2 cache: 512K L3 cache: 24576K NUMA node0 CPU(s): 0-95 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm [root@l57h15216 xfstests]# [root@l57h15216 xfstests]# cat /proc/cmdline BOOT_IMAGE=(hd1,gpt2)/boot/vmlinuz-4.19.91-901.git.0923bc4cf5.an8.aarch64 root=UUID=126440a1-ccaf-4e91-8b27-4709dc96b297 ro cryptomgr.notests rcupdate.rcu_cpu_stall_timeout=300 vring_force_dma_api rhgb quiet console=tty0 biosdevname=0 net.ifnames=0 console=ttyAMA0,115200n8 noibrs nvme_core.io_timeout=4294967295 nvme_core.admin_timeout=4294967295 slub_debug=FPZU kmemleak=on crashkernel=0M-2G:0M,2G-8G:192M,8G-:256M cgroup.memory=nokmem