[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202602032018.BRG7c7LT-lkp@intel.com>
Date: Tue, 3 Feb 2026 20:54:16 +0800
From: kernel test robot <lkp@...el.com>
To: Yu Kuai <yukuai@...as.com>, tj@...nel.org, josef@...icpanda.com,
axboe@...nel.dk
Cc: 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: i386-buildonly-randconfig-002-20260203 (https://download.01.org/0day-ci/archive/20260203/202602032018.BRG7c7LT-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260203/202602032018.BRG7c7LT-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/202602032018.BRG7c7LT-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/seqlock.h:19,
from include/linux/mmzone.h:17,
from include/linux/gfp.h:7,
from include/linux/umh.h:4,
from include/linux/kmod.h:9,
from include/linux/module.h:18,
from block/bfq-iosched.c:116:
block/bfq-iosched.c: In function 'bfq_end_wr':
>> block/bfq-iosched.c:2648:32: error: 'struct request_queue' has no member named 'blkcg_mutex'
2648 | mutex_lock(&bfqd->queue->blkcg_mutex);
| ^~
include/linux/mutex.h:193:44: note: in definition of macro 'mutex_lock'
193 | #define mutex_lock(lock) mutex_lock_nested(lock, 0)
| ^~~~
block/bfq-iosched.c:2660:34: error: 'struct request_queue' has no member named 'blkcg_mutex'
2660 | mutex_unlock(&bfqd->queue->blkcg_mutex);
| ^~
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