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...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
config: parisc-randconfig-r023-20210415 (attached as .config)
compiler: hppa-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://github.com/0day-ci/linux/commit/efe3badef858ce63a834964692be0d07d...
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=gcc-9.3.0 make.cross W=1 ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/nvme/host/core.c: In function 'nvme_end_req':
> drivers/nvme/host/core.c:349:28: error: 'struct
nvme_ns_head' has no member named 'disk'
349 |
__blk_queue_exit(ns->head->disk->queue, nr);
| ^~
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/kbuild-all@lists.01.org