FYI, we noticed the following commit (built with gcc-6): commit: 71fa367c224f4298cd204290fa1728c9d7bd8146 ("Return bytes transfered for partial direct I/O") url: https://github.com/0day-ci/linux/commits/Goldwyn-Rodrigues/Return-bytes-transfered-for-partial-direct-I-O/20170927-025050 in testcase: xfstests with following parameters: disk: 4HDD fs: ext4 test: generic-299 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 Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz with 6G memory caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): 2017-10-06 23:01:29 export TEST_DIR=/fs/sda5 2017-10-06 23:01:29 export TEST_DEV=/dev/sda5 2017-10-06 23:01:29 export FSTYP=ext4 2017-10-06 23:01:29 export SCRATCH_MNT=/fs/scratch 2017-10-06 23:01:29 mkdir /fs/scratch -p 2017-10-06 23:01:29 export SCRATCH_DEV=/dev/sda8 2017-10-06 23:01:29 2017-10-06 23:01:29 echo generic/299 generic/299 2017-10-06 23:01:29 ./check generic/299 FSTYP -- ext4 PLATFORM -- Linux/x86_64 snb-drag 4.14.0-rc2-00001-g71fa367 MKFS_OPTIONS -- /dev/sda8 MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda8 /fs/scratch generic/299 [failed, exit status 1] - output mismatch (see /lkp/benchmarks/xfstests/results//generic/299.out.bad) --- tests/generic/299.out 2017-08-04 18:06:58.000000000 +0800 +++ /lkp/benchmarks/xfstests/results//generic/299.out.bad 2017-10-06 23:05:57.810966461 +0800 @@ -3,3 +3,5 @@ Run fio with random aio-dio pattern Start fallocate/truncate loop +failed: '/usr/bin/fio /tmp/4418.fio' +(see /lkp/benchmarks/xfstests/results//generic/299.full for details) ... (Run 'diff -u tests/generic/299.out /lkp/benchmarks/xfstests/results//generic/299.out.bad' to see the entire diff) Ran: generic/299 Failures: generic/299 Failed 1 of 1 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 run job.yaml Thanks, Xiaolong