Re: [RFC PATCH 2/2] block: support to freeze bio based request queue

0 wyświetleń
Przejdź do pierwszej nieodczytanej wiadomości

kernel test robot

nieprzeczytany,
15 kwi 2021, 09:41:4115.04.2021
do Ming Lei, kbuil...@lists.01.org, clang-bu...@googlegroups.com
Hi Ming,

[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on block/for-next]
[also build test ERROR on dennis-percpu/for-next linus/master v5.12-rc7 next-20210415]
[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]

url: https://github.com/0day-ci/linux/commits/Ming-Lei/block-support-to-freeze-bio-based-queue/20210415-183554
base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
config: arm-randconfig-r034-20210415 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 6a18cc23efad410db48a3ccfc233d215de7d4cb9)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://github.com/0day-ci/linux/commit/efe3badef858ce63a834964692be0d07d82c155e
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Ming-Lei/block-support-to-freeze-bio-based-queue/20210415-183554
git checkout efe3badef858ce63a834964692be0d07d82c155e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <l...@intel.com>

All errors (new ones prefixed by >>):

>> drivers/nvme/host/core.c:349:30: error: no member named 'disk' in 'struct nvme_ns_head'
__blk_queue_exit(ns->head->disk->queue, nr);
~~~~~~~~ ^
1 error generated.


vim +349 drivers/nvme/host/core.c

322
323 static inline void nvme_end_req(struct request *req)
324 {
325 blk_status_t status = nvme_error_status(nvme_req(req)->status);
326 const bool mpath = req->cmd_flags & REQ_NVME_MPATH;
327 unsigned int nr = 0;
328 struct bio *bio;
329 struct nvme_ns *ns;
330
331 if (IS_ENABLED(CONFIG_BLK_DEV_ZONED) &&
332 req_op(req) == REQ_OP_ZONE_APPEND)
333 req->__sector = nvme_lba_to_sect(req->q->queuedata,
334 le64_to_cpu(nvme_req(req)->result.u64));
335
336 if (mpath) {
337 ns = req->q->queuedata;
338 __rq_for_each_bio(bio, req)
339 nr++;
340 }
341 nvme_trace_bio_complete(req);
342 blk_mq_end_request(req, status);
343
344 /*
345 * We changed multipath bio->bi_bdev, so have to drop the queue
346 * reference manually
347 */
348 if (mpath && nr)
> 349 __blk_queue_exit(ns->head->disk->queue, nr);
350 }
351

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuil...@lists.01.org
.config.gz
Odpowiedz wszystkim
Odpowiedz autorowi
Przekaż
Nowe wiadomości: 0