Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: c514f02a2b5b2dedb96e25fec5a516d8fb711525 ("nbd: use
set_capacity_revalidate_and_notify")
git://git.infradead.org/users/hch/misc.git nbd-set-size-fix
in testcase: blktests
version: blktests-x86_64-20445c5-1_20201007
with following parameters:
test: nbd-group1
ucode: 0xdc
on test machine: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G 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 <rong.a.chen(a)intel.com>
2020-11-02 20:28:51 sed "s:^:nbd/:" /lkp/benchmarks/blktests/tests/nbd-group1
2020-11-02 20:28:51 ./check nbd/001 nbd/002 nbd/003
nbd/001 (resize a connected nbd device)
nbd/001 (resize a connected nbd device) [failed]
runtime ... 1.095s
--- tests/nbd/001.out 2020-10-07 22:29:16.000000000 +0000
+++ /lkp/benchmarks/blktests/results/nodev/nbd/001.out.bad 2020-11-02
20:28:52.308301248 +0000
@@ -1,5 +1,4 @@
Running nbd/001
-Disk /dev/nbd0: 10.7GB
nbd0 43:0 0 10G 0 disk
Setting size to 1gib
nbd0 43:0 0 1G 0 disk
nbd/002 (tests on partition handling for an nbd device)
nbd/002 (tests on partition handling for an nbd device) [failed]
runtime ... 0.341s
--- tests/nbd/002.out 2020-10-07 22:29:16.000000000 +0000
+++ /lkp/benchmarks/blktests/results/nodev/nbd/002.out.bad 2020-11-02
20:28:52.684301245 +0000
@@ -1,4 +1,3 @@
Running nbd/002
Testing IOCTL path
-Testing the netlink path
-Test complete
+Didn't have partition on ioctl path
nbd/003 (mount/unmount concurrently with NBD_CLEAR_SOCK)
nbd/003 (mount/unmount concurrently with NBD_CLEAR_SOCK) [passed]
runtime ... 67.534s
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,
Rong Chen