Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 7993f1a431bc5271369d359941485a9340658ac3 ("xfs: only run COW extent recovery when there are no live extents")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: xfstests
version: xfstests-x86_64-972d710-1_20211228
with following parameters:
disk: 4HDD
fs: xfs
test: xfs-reflink-15
ucode: 0x28
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: 8 threads 1 sockets Intel(R) Core(TM) i7-4790 v3 @ 3.60GHz with 6G 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 <[email protected]>
2022-01-07 19:55:40 export TEST_DIR=/fs/sda1
2022-01-07 19:55:40 export TEST_DEV=/dev/sda1
2022-01-07 19:55:40 export FSTYP=xfs
2022-01-07 19:55:40 export SCRATCH_MNT=/fs/scratch
2022-01-07 19:55:40 mkdir /fs/scratch -p
2022-01-07 19:55:40 export SCRATCH_DEV=/dev/sda4
2022-01-07 19:55:40 export SCRATCH_LOGDEV=/dev/sda2
2022-01-07 19:55:40 export SCRATCH_XFS_LIST_METADATA_FIELDS=u3.sfdir3.hdr.parent.i4
2022-01-07 19:55:40 export SCRATCH_XFS_LIST_FUZZ_VERBS=random
2022-01-07 19:55:40 export MKFS_OPTIONS=-mreflink=1
2022-01-07 19:55:40 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-reflink-15
2022-01-07 19:55:40 ./check xfs/307 xfs/308 xfs/309 xfs/312 xfs/313 xfs/315 xfs/316 xfs/319
FSTYP -- xfs (debug)
PLATFORM -- Linux/x86_64 lkp-hsw-d02 5.16.0-rc5-00004-g7993f1a431bc #1 SMP Wed Dec 29 06:35:34 CST 2021
MKFS_OPTIONS -- -f -mreflink=1 /dev/sda4
MOUNT_OPTIONS -- /dev/sda4 /fs/scratch
xfs/307 4s
xfs/308 _check_xfs_filesystem: filesystem on /dev/sda4 is inconsistent (r)
(see /lkp/benchmarks/xfstests/results//xfs/308.full for details)
- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/308.out.bad)
--- tests/xfs/308.out 2021-12-31 10:10:52.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/308.out.bad 2022-01-07 19:55:49.909107057 +0000
@@ -10,4 +10,6 @@
leftover CoW extent (NR/NR) len NR
Mount filesystem
Look for no more leftover warning in xfs_check
+leftover CoW extent (NR/NR) len NR
Look for no more leftover warning in xfs_repair
+leftover CoW extent (NR/NR) len NR
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/308.out /lkp/benchmarks/xfstests/results//xfs/308.out.bad' to see the entire diff)
xfs/309 19s
xfs/312 4s
xfs/313 5s
xfs/315 4s
xfs/316 4s
xfs/319 5s
Ran: xfs/307 xfs/308 xfs/309 xfs/312 xfs/313 xfs/315 xfs/316 xfs/319
Failures: xfs/308
Failed 1 of 8 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.
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/[email protected] Intel Corporation
Thanks,
Oliver Sang