Greeting, FYI, we noticed the following commit (built with gcc-11): commit: a1df10d42ba99c946f6a574d4d31951bc0a57e33 ("xfs: fix exception caused by unexpected illegal bestcount in leaf dir") url: https://github.com/intel-lab-lkp/linux/commits/UPDATE-20220929-162751/Guo-Xuenan/xfs-fix-uaf-when-leaf-dir-bestcount-not-match-with-dir-data-blocks/20220831-195920 in testcase: xfstests version: xfstests-x86_64-5a5e419-1_20220927 with following parameters: disk: 4HDD fs: xfs test: generic-group-15 test-description: xfstests is a regression test suite for xfs and other files ystems. test-url: git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git on test machine: 4 threads 1 sockets Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (Ivy Bridge) with 8G memory caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): If you fix the issue, kindly add following tag | Reported-by: kernel test robot | Link: https://lore.kernel.org/r/202210052153.fedff8e6-oliver.sang(a)intel.com 2022-10-01 13:04:09 export TEST_DIR=/fs/sdb1 2022-10-01 13:04:09 export TEST_DEV=/dev/sdb1 2022-10-01 13:04:09 export FSTYP=xfs 2022-10-01 13:04:09 export SCRATCH_MNT=/fs/scratch 2022-10-01 13:04:09 mkdir /fs/scratch -p 2022-10-01 13:04:09 export SCRATCH_DEV=/dev/sdb4 2022-10-01 13:04:09 export SCRATCH_LOGDEV=/dev/sdb2 2022-10-01 13:04:09 sed "s:^:generic/:" //lkp/benchmarks/xfstests/tests/generic-group-15 2022-10-01 13:04:09 ./check generic/300 generic/301 generic/302 generic/303 generic/304 generic/305 generic/306 generic/307 generic/308 generic/309 generic/310 generic/312 generic/313 generic/314 generic/315 generic/316 generic/317 generic/318 generic/319 FSTYP -- xfs (debug) PLATFORM -- Linux/x86_64 lkp-ivb-d02 6.0.0-rc3-00002-ga1df10d42ba9 #24 SMP Thu Sep 29 18:41:05 CST 2022 MKFS_OPTIONS -- -f /dev/sdb4 MOUNT_OPTIONS -- /dev/sdb4 /fs/scratch generic/300 28s generic/301 5s generic/302 11s generic/303 [not run] Reflink not supported by test filesystem type: xfs generic/304 [not run] Dedupe not supported by test filesystem type: xfs generic/305 4s generic/306 3s generic/307 4s generic/308 1s generic/309 2s generic/310 _check_xfs_filesystem: filesystem on /dev/sdb1 has dirty log (see /lkp/benchmarks/xfstests/results//generic/310.full for details) _check_xfs_filesystem: filesystem on /dev/sdb1 is inconsistent (r) (see /lkp/benchmarks/xfstests/results//generic/310.full for details) - output mismatch (see /lkp/benchmarks/xfstests/results//generic/310.out.bad) --- tests/generic/310.out 2022-09-27 02:20:22.000000000 +0000 +++ /lkp/benchmarks/xfstests/results//generic/310.out.bad 2022-10-01 13:06:25.150012442 +0000 @@ -1,2 +1,3 @@ QA output created by 310 *** done +rm: cannot remove '/fs/sdb1/tmp': Input/output error ... (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/310.out /lkp/benchmarks/xfstests/results//generic/310.out.bad' to see the entire diff) generic/312 [failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//generic/312.out.bad) --- tests/generic/312.out 2022-09-27 02:20:22.000000000 +0000 +++ /lkp/benchmarks/xfstests/results//generic/312.out.bad 2022-10-01 13:06:26.933012521 +0000 @@ -1,2 +1,5 @@ QA output created by 312 -Silence is golden +mount: /fs/sdb1: mount(2) system call failed: Structure needs cleaning. +common/rc: retrying test device mount with external set +mount: /fs/sdb1: mount(2) system call failed: Structure needs cleaning. +common/rc: could not mount /dev/sdb1 on /fs/sdb1 ... (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/312.out /lkp/benchmarks/xfstests/results//generic/312.out.bad' to see the entire diff) generic/313 [failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//generic/313.out.bad) --- tests/generic/313.out 2022-09-27 02:20:22.000000000 +0000 +++ /lkp/benchmarks/xfstests/results//generic/313.out.bad 2022-10-01 13:06:28.717012601 +0000 @@ -1,2 +1,5 @@ QA output created by 313 -Silence is golden +mount: /fs/sdb1: mount(2) system call failed: Structure needs cleaning. +common/rc: retrying test device mount with external set +mount: /fs/sdb1: mount(2) system call failed: Structure needs cleaning. +common/rc: could not mount /dev/sdb1 on /fs/sdb1 ... (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/313.out /lkp/benchmarks/xfstests/results//generic/313.out.bad' to see the entire diff) generic/314 [failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//generic/314.out.bad) --- tests/generic/314.out 2022-09-27 02:20:22.000000000 +0000 +++ /lkp/benchmarks/xfstests/results//generic/314.out.bad 2022-10-01 13:06:30.533012682 +0000 @@ -1,2 +1,5 @@ QA output created by 314 -drwxr-sr-x subdir +mount: /fs/sdb1: mount(2) system call failed: Structure needs cleaning. +common/rc: retrying test device mount with external set +mount: /fs/sdb1: mount(2) system call failed: Structure needs cleaning. +common/rc: could not mount /dev/sdb1 on /fs/sdb1 ... (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/314.out /lkp/benchmarks/xfstests/results//generic/314.out.bad' to see the entire diff) generic/315 [failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//generic/315.out.bad) --- tests/generic/315.out 2022-09-27 02:20:22.000000000 +0000 +++ /lkp/benchmarks/xfstests/results//generic/315.out.bad 2022-10-01 13:06:32.265012759 +0000 @@ -1,2 +1,5 @@ QA output created by 315 -Slience is golden +mount: /fs/sdb1: mount(2) system call failed: Structure needs cleaning. +common/rc: retrying test device mount with external set +mount: /fs/sdb1: mount(2) system call failed: Structure needs cleaning. +common/rc: could not mount /dev/sdb1 on /fs/sdb1 ... (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/315.out /lkp/benchmarks/xfstests/results//generic/315.out.bad' to see the entire diff) generic/316 [failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//generic/316.out.bad) --- tests/generic/316.out 2022-09-27 02:20:22.000000000 +0000 +++ /lkp/benchmarks/xfstests/results//generic/316.out.bad 2022-10-01 13:06:33.999012837 +0000 @@ -1,181 +1,5 @@ QA output created by 316 - 1. into a hole -1aca77e2188f52a62674fe8a873bdaba - 2. into allocated space -0: [0..127]: extent -1: [128..383]: hole -2: [384..639]: extent ... (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/316.out /lkp/benchmarks/xfstests/results//generic/316.out.bad' to see the entire diff) generic/317 [failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//generic/317.out.bad) --- tests/generic/317.out 2022-09-27 02:20:22.000000000 +0000 +++ /lkp/benchmarks/xfstests/results//generic/317.out.bad 2022-10-01 13:06:35.715012913 +0000 @@ -1,20 +1,5 @@ QA output created by 317 -From init_user_ns - File: "$SCRATCH_MNT/file1" - Size: 0 Filetype: Regular File - Mode: (0644/-rw-r--r--) Uid: (qa_user) Gid: (qa_user) -From user_ns - File: "$SCRATCH_MNT/file1" ... (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/317.out /lkp/benchmarks/xfstests/results//generic/317.out.bad' to see the entire diff) generic/318 [failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//generic/318.out.bad) --- tests/generic/318.out 2022-09-27 02:20:22.000000000 +0000 +++ /lkp/benchmarks/xfstests/results//generic/318.out.bad 2022-10-01 13:06:37.465012991 +0000 @@ -1,51 +1,5 @@ QA output created by 318 -From init_user_ns -# file: SCRATCH_MNT/file1 -# owner: id1 -# group: id1 -user::rw- -user:id1:r-x #effective:r-- ... (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/318.out /lkp/benchmarks/xfstests/results//generic/318.out.bad' to see the entire diff) generic/319 [failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//generic/319.out.bad) --- tests/generic/319.out 2022-09-27 02:20:22.000000000 +0000 +++ /lkp/benchmarks/xfstests/results//generic/319.out.bad 2022-10-01 13:06:39.181013068 +0000 @@ -1,21 +1,5 @@ QA output created by 319 -# file: SCRATCH_MNT/testdir -# owner: 0 -# group: 0 -user::rwx -group::r-x -other::r-x ... (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/319.out /lkp/benchmarks/xfstests/results//generic/319.out.bad' to see the entire diff) Ran: generic/300 generic/301 generic/302 generic/303 generic/304 generic/305 generic/306 generic/307 generic/308 generic/309 generic/310 generic/312 generic/313 generic/314 generic/315 generic/316 generic/317 generic/318 generic/319 Not run: generic/303 generic/304 Failures: generic/310 generic/312 generic/313 generic/314 generic/315 generic/316 generic/317 generic/318 generic/319 Failed 9 of 19 tests To reproduce: git clone https://github.com/intel/lkp-tests.git cd lkp-tests sudo bin/lkp install job.yaml # job file is attached in this email bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run sudo bin/lkp run generated-yaml-file # if come across any failure that blocks the test, # please remove ~/.lkp and /lkp dir to run from a clean state. -- 0-DAY CI Kernel Test Service https://01.org/lkp