All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC PATCH 2/2] block: support to freeze bio based request queue
Date: Fri, 16 Apr 2021 00:30:38 +0800	[thread overview]
Message-ID: <202104160042.xBpUkJbs-lkp@intel.com> (raw)
In-Reply-To: <20210415103310.1513841-3-ming.lei@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 2885 bytes --]

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: 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/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=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@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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 23153 bytes --]

  parent reply	other threads:[~2021-04-15 16:30 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-15 10:33 [dm-devel] [RFC PATCH 0/2] block: support to freeze bio based queue Ming Lei
2021-04-15 10:33 ` Ming Lei
2021-04-15 10:33 ` Ming Lei
2021-04-15 10:33 ` [dm-devel] [RFC PATCH 1/2] percpu_ref: add percpu_ref_tryget_many_live Ming Lei
2021-04-15 10:33   ` Ming Lei
2021-04-15 10:33   ` Ming Lei
2021-04-15 19:50   ` [dm-devel] " Bart Van Assche
2021-04-15 19:50     ` Bart Van Assche
2021-04-15 19:50     ` Bart Van Assche
2021-04-15 10:33 ` [dm-devel] [RFC PATCH 2/2] block: support to freeze bio based request queue Ming Lei
2021-04-15 10:33   ` Ming Lei
2021-04-15 10:33   ` Ming Lei
2021-04-15 13:40   ` kernel test robot
2021-04-15 13:56   ` [dm-devel] " Ming Lei
2021-04-15 13:56     ` Ming Lei
2021-04-15 13:56     ` Ming Lei
2021-04-15 16:30   ` kernel test robot [this message]
2021-04-15 20:16   ` [dm-devel] " Bart Van Assche
2021-04-15 20:16     ` Bart Van Assche
2021-04-15 20:16     ` Bart Van Assche
2021-04-16  1:28     ` Ming Lei
2021-04-16  1:28       ` Ming Lei
2021-04-16  1:28       ` Ming Lei
2021-04-19 12:05   ` JeffleXu
2021-04-19 12:05     ` JeffleXu
2021-04-19 12:05     ` JeffleXu
2021-04-19 13:50     ` Ming Lei
2021-04-19 13:50       ` Ming Lei
2021-04-19 13:50       ` Ming Lei
2021-04-20  7:21       ` JeffleXu
2021-04-20  7:21         ` JeffleXu
2021-04-20  7:21         ` JeffleXu
2021-04-20  7:58         ` Ming Lei
2021-04-20  7:58           ` Ming Lei
2021-04-20  7:58           ` Ming Lei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202104160042.xBpUkJbs-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.