tree: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next head: 3a6434fb7a713f9735912aef297078eeda3e47b4 commit: 3a6434fb7a713f9735912aef297078eeda3e47b4 [20/20] dm: fix missing imposition of queue_limits from dm_wq_work() thread config: xtensa-allyesconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/commit/?id=3a6434fb7a713f9735912aef297078eeda3e47b4 git remote add dm https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git git fetch --no-tags dm for-next git checkout 3a6434fb7a713f9735912aef297078eeda3e47b4 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=xtensa If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): drivers/md/dm.c: In function 'dm_wq_work': >> drivers/md/dm.c:2374:19: warning: variable 'map' set but not used [-Wunused-but-set-variable] 2374 | struct dm_table *map; | ^~~ vim +/map +2374 drivers/md/dm.c 85067747cf9888 Ming Lei 2020-06-24 2364 ^1da177e4c3f41 Linus Torvalds 2005-04-16 2365 /* ^1da177e4c3f41 Linus Torvalds 2005-04-16 2366 * Process the deferred bios ^1da177e4c3f41 Linus Torvalds 2005-04-16 2367 */ ef2085870ea448 Mikulas Patocka 2009-04-02 2368 static void dm_wq_work(struct work_struct *work) ^1da177e4c3f41 Linus Torvalds 2005-04-16 2369 { ef2085870ea448 Mikulas Patocka 2009-04-02 2370 struct mapped_device *md = container_of(work, struct mapped_device, ef2085870ea448 Mikulas Patocka 2009-04-02 2371 work); 3a6434fb7a713f Mike Snitzer 2020-09-28 2372 struct bio *bio; 83d5e5b0af907d Mikulas Patocka 2013-07-10 2373 int srcu_idx; 83d5e5b0af907d Mikulas Patocka 2013-07-10 @2374 struct dm_table *map; ^1da177e4c3f41 Linus Torvalds 2005-04-16 2375 83d5e5b0af907d Mikulas Patocka 2013-07-10 2376 map = dm_get_live_table(md, &srcu_idx); ef2085870ea448 Mikulas Patocka 2009-04-02 2377 3b00b2036fac7a Mikulas Patocka 2009-04-09 2378 while (!test_bit(DMF_BLOCK_IO_FOR_SUSPEND, &md->flags)) { 022c261100e156 Mikulas Patocka 2009-04-02 2379 spin_lock_irq(&md->deferred_lock); 3a6434fb7a713f Mike Snitzer 2020-09-28 2380 bio = bio_list_pop(&md->deferred); 022c261100e156 Mikulas Patocka 2009-04-02 2381 spin_unlock_irq(&md->deferred_lock); 022c261100e156 Mikulas Patocka 2009-04-02 2382 3a6434fb7a713f Mike Snitzer 2020-09-28 2383 if (!bio) df12ee996378a5 Alasdair G Kergon 2009-04-09 2384 break; 73d410c0137f63 Milan Broz 2008-02-08 2385 3a6434fb7a713f Mike Snitzer 2020-09-28 2386 submit_bio_noacct(bio); df12ee996378a5 Alasdair G Kergon 2009-04-09 2387 } ef2085870ea448 Mikulas Patocka 2009-04-02 2388 83d5e5b0af907d Mikulas Patocka 2013-07-10 2389 dm_put_live_table(md, srcu_idx); ^1da177e4c3f41 Linus Torvalds 2005-04-16 2390 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 2391 :::::: The code at line 2374 was first introduced by commit :::::: 83d5e5b0af907d46d241a86d9e44003b3f0accbd dm: optimize use SRCU and RCU :::::: TO: Mikulas Patocka <mpatocka@xxxxxxxxxx> :::::: CC: Alasdair G Kergon <agk@xxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip
-- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel