Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: c4249fd6a19722fa0ee4994da7c089594bbc413d ("[PATCH] loop: replace loop_validate_mutex with loop_validate_spinlock")
url: https://github.com/0day-ci/linux/commits/Tetsuo-Handa/loop-replace-loop_validate_mutex-with-loop_validate_spinlock/20211125-060056
base: https://git.kernel.org/cgit/linux/kernel/git/axboe/linux-block.git for-next
in testcase: blktests
version: blktests-x86_64-f51ee53-1_20211126
with following parameters:
test: loop-group-03
ucode: 0xe2
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 <[email protected]>
2021-11-27 18:21:39 sed "s:^:loop/:" /lkp/benchmarks/blktests/tests/loop-group-03
2021-11-27 18:21:39 ./check loop/006 loop/007
loop/006 (change loop backing file while creating/removing another loop device)
loop/006 (change loop backing file while creating/removing another loop device) [failed]
runtime ... 31.068s
--- tests/loop/006.out 2021-11-26 23:12:29.000000000 +0000
+++ /lkp/benchmarks/blktests/results/nodev/loop/006.out.bad 2021-11-27 18:22:10.364779537 +0000
@@ -1,2 +1,3 @@
Running loop/006
+losetup: /dev/loop0: failed to set up loop device: Invalid argument
Test complete
loop/007 (update loop device capacity with filesystem)
loop/007 (update loop device capacity with filesystem) [passed]
runtime ... 0.253s
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