Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 9669f51de5c0c93e79257f690d1feaf16ebc179b ("xfs: consolidate the eofblocks and
cowblocks workers")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: xfstests
version: xfstests-x86_64-73c0871-1_20210114
with following parameters:
disk: 4HDD
fs: xfs
test: xfs-reflink-11
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 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 <oliver.sang(a)intel.com>
2021-02-11 13:16:36 export TEST_DIR=/fs/sda1
2021-02-11 13:16:36 export TEST_DEV=/dev/sda1
2021-02-11 13:16:36 export FSTYP=xfs
2021-02-11 13:16:36 export SCRATCH_MNT=/fs/scratch
2021-02-11 13:16:36 mkdir /fs/scratch -p
2021-02-11 13:16:36 export SCRATCH_DEV=/dev/sda4
2021-02-11 13:16:36 export SCRATCH_LOGDEV=/dev/sda2
2021-02-11 13:16:36 export SCRATCH_XFS_LIST_METADATA_FIELDS=u3.sfdir3.hdr.parent.i4
2021-02-11 13:16:36 export SCRATCH_XFS_LIST_FUZZ_VERBS=random
2021-02-11 13:16:36 export MKFS_OPTIONS=-mreflink=1
2021-02-11 13:16:36 sed "s:^:xfs/:"
//lkp/benchmarks/xfstests/tests/xfs-reflink-11
2021-02-11 13:16:36 ./check xfs/221 xfs/223 xfs/224 xfs/225 xfs/226 xfs/228 xfs/230
xfs/231 xfs/232 xfs/237 xfs/239
FSTYP -- xfs (debug)
PLATFORM -- Linux/x86_64 lkp-hsw-d02 5.11.0-rc4-00072-g9669f51de5c0 #1 SMP Thu Feb 11
20:47:30 CST 2021
MKFS_OPTIONS -- -f -mreflink=1 /dev/sda4
MOUNT_OPTIONS -- /dev/sda4 /fs/scratch
xfs/221 4s
xfs/223 4s
xfs/224 4s
xfs/225 3s
xfs/226 4s
xfs/228 4s
xfs/230 4s
xfs/231 - output mismatch (see /lkp/benchmarks/xfstests/results//xfs/231.out.bad)
--- tests/xfs/231.out 2021-01-14 07:40:58.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/231.out.bad 2021-02-11 13:17:12.313965687
+0000
@@ -1,4 +1,5 @@
QA output created by 231
+cat: /proc/sys/fs/xfs/speculative_cow_prealloc_lifetime: No such file or directory
Format and mount
Create the original files
Compare files
@@ -6,11 +7,14 @@
bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-231/file2
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/231.out
/lkp/benchmarks/xfstests/results//xfs/231.out.bad' to see the entire diff)
xfs/232 - output mismatch (see /lkp/benchmarks/xfstests/results//xfs/232.out.bad)
--- tests/xfs/232.out 2021-01-14 07:40:58.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/232.out.bad 2021-02-11 13:17:19.162966293
+0000
@@ -1,4 +1,5 @@
QA output created by 232
+cat: /proc/sys/fs/xfs/speculative_cow_prealloc_lifetime: No such file or directory
Format and mount
Create the original files
Compare files
@@ -6,11 +7,14 @@
bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-232/file2
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/232.out
/lkp/benchmarks/xfstests/results//xfs/232.out.bad' to see the entire diff)
xfs/237 5s
xfs/239 5s
Ran: xfs/221 xfs/223 xfs/224 xfs/225 xfs/226 xfs/228 xfs/230 xfs/231 xfs/232 xfs/237
xfs/239
Failures: xfs/231 xfs/232
Failed 2 of 11 tests
To reproduce:
git clone
https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml
bin/lkp run compatible-job.yaml
Thanks,
Oliver Sang