[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202602032109.oYgANNeZ-lkp@intel.com>
Date: Tue, 3 Feb 2026 21:36:52 +0800
From: kernel test robot <lkp@...el.com>
To: Yu Kuai <yukuai@...as.com>, tj@...nel.org, josef@...icpanda.com,
axboe@...nel.dk
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
cgroups@...r.kernel.org, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, yukuai@...as.com,
zhengqixing@...wei.com, mkoutny@...e.com, hch@...radead.org,
ming.lei@...hat.com, nilay@...ux.ibm.com
Subject: Re: [PATCH v2 2/7] bfq: protect q->blkg_list iteration in
bfq_end_wr_async() with blkcg_mutex
Hi Yu,
kernel test robot noticed the following build errors:
[auto build test ERROR on axboe/for-next]
[also build test ERROR on linus/master v6.19-rc8 next-20260202]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Yu-Kuai/blk-cgroup-protect-q-blkg_list-iteration-in-blkg_destroy_all-with-blkcg_mutex/20260203-161356
base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git for-next
patch link: https://lore.kernel.org/r/20260203080602.726505-3-yukuai%40fnnas.com
patch subject: [PATCH v2 2/7] bfq: protect q->blkg_list iteration in bfq_end_wr_async() with blkcg_mutex
config: s390-randconfig-002-20260203 (https://download.01.org/0day-ci/archive/20260203/202602032109.oYgANNeZ-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260203/202602032109.oYgANNeZ-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602032109.oYgANNeZ-lkp@intel.com/
All errors (new ones prefixed by >>):
>> block/bfq-iosched.c:2648:27: error: no member named 'blkcg_mutex' in 'struct request_queue'
2648 | mutex_lock(&bfqd->queue->blkcg_mutex);
| ~~~~~~~~~~~ ^
include/linux/mutex.h:193:44: note: expanded from macro 'mutex_lock'
193 | #define mutex_lock(lock) mutex_lock_nested(lock, 0)
| ^~~~
block/bfq-iosched.c:2660:29: error: no member named 'blkcg_mutex' in 'struct request_queue'
2660 | mutex_unlock(&bfqd->queue->blkcg_mutex);
| ~~~~~~~~~~~ ^
2 errors generated.
vim +2648 block/bfq-iosched.c
2642
2643 static void bfq_end_wr(struct bfq_data *bfqd)
2644 {
2645 struct bfq_queue *bfqq;
2646 int i;
2647
> 2648 mutex_lock(&bfqd->queue->blkcg_mutex);
2649 spin_lock_irq(&bfqd->lock);
2650
2651 for (i = 0; i < bfqd->num_actuators; i++) {
2652 list_for_each_entry(bfqq, &bfqd->active_list[i], bfqq_list)
2653 bfq_bfqq_end_wr(bfqq);
2654 }
2655 list_for_each_entry(bfqq, &bfqd->idle_list, bfqq_list)
2656 bfq_bfqq_end_wr(bfqq);
2657 bfq_end_wr_async(bfqd);
2658
2659 spin_unlock_irq(&bfqd->lock);
2660 mutex_unlock(&bfqd->queue->blkcg_mutex);
2661 }
2662
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists