Re: [linus:master] [f2fs] 5c8764f867: xfstests.generic.091.fail

From: Chao Yu
Date: Thu Sep 12 2024 - 21:54:36 EST


On 2024/9/12 21:50, kernel test robot wrote:


Hello,

kernel test robot noticed "xfstests.generic.091.fail" on:

commit: 5c8764f8679e659c5cb295af7d32279002d13735 ("f2fs: fix to force buffered IO on inline_data inode")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

Can you please try below fix for xfstests?

https://lore.kernel.org/fstests/20240911035333.364961-1-chao@xxxxxxxxxx/

Thanks,


in testcase: xfstests
version: xfstests-x86_64-b1465280-1_20240909
with following parameters:

disk: 4HDD
fs: f2fs
test: generic-091



compiler: gcc-12
test machine: 8 threads Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (Skylake) with 28G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)




If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-lkp/202409122131.d6e2f8c1-oliver.sang@xxxxxxxxx

2024-09-11 03:13:26 export TEST_DIR=/fs/sda1
2024-09-11 03:13:26 export TEST_DEV=/dev/sda1
2024-09-11 03:13:26 export FSTYP=f2fs
2024-09-11 03:13:26 export SCRATCH_MNT=/fs/scratch
2024-09-11 03:13:26 mkdir /fs/scratch -p
2024-09-11 03:13:26 export SCRATCH_DEV=/dev/sda4
2024-09-11 03:13:26 export MKFS_OPTIONS="-f"
2024-09-11 03:13:27 echo generic/091
2024-09-11 03:13:27 ./check generic/091
FSTYP -- f2fs
PLATFORM -- Linux/x86_64 lkp-skl-d01 6.10.0-rc3-00027-g5c8764f8679e #1 SMP PREEMPT_DYNAMIC Wed Sep 11 10:37:47 CST 2024
MKFS_OPTIONS -- -f /dev/sda4
MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda4 /fs/scratch

generic/091 [failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//generic/091.out.bad)
--- tests/generic/091.out 2024-09-09 16:31:23.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//generic/091.out.bad 2024-09-11 03:14:07.468026185 +0000
@@ -1,7 +1,55 @@
QA output created by 091
fsx -N 10000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W
-fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W
-fsx -N 10000 -o 32768 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W
-fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W
-fsx -N 10000 -o 32768 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W
-fsx -N 10000 -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -W
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/091.out /lkp/benchmarks/xfstests/results//generic/091.out.bad' to see the entire diff)
Ran: generic/091
Failures: generic/091
Failed 1 of 1 tests




The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240912/202409122131.d6e2f8c1-oliver.sang@xxxxxxxxx