From: kbuild test robot <lkp@intel.com>
To: Roman Pen <roman.penyaev@profitbricks.com>
Cc: kbuild-all@01.org, Roman Pen <roman.penyaev@profitbricks.com>,
Akinobu Mita <akinobu.mita@gmail.com>, Tejun Heo <tj@kernel.org>,
Jens Axboe <axboe@kernel.dk>, Christoph Hellwig <hch@lst.de>,
linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] blk-mq: fix hang caused by freeze/unfreeze sequence
Date: Sat, 6 Aug 2016 02:28:43 +0800 [thread overview]
Message-ID: <201608060221.P9BMhXTo%fengguang.wu@intel.com> (raw)
In-Reply-To: <20160805174131.22043-1-roman.penyaev@profitbricks.com>
[-- Attachment #1: Type: text/plain, Size: 3989 bytes --]
Hi Roman,
[auto build test WARNING on block/for-next]
[also build test WARNING on v4.7 next-20160805]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Roman-Pen/blk-mq-fix-hang-caused-by-freeze-unfreeze-sequence/20160806-014441
base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
config: tile-allyesconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=tile
All warnings (new ones prefixed by >>):
block/blk-core.c: In function 'blk_queue_enter':
>> block/blk-core.c:660:3: warning: passing argument 1 of 'atomic_read' from incompatible pointer type [enabled by default]
arch/tile/include/asm/atomic.h:35:19: note: expected 'const struct atomic_t *' but argument is of type 'int *'
>> block/blk-core.c:660:3: warning: passing argument 1 of 'atomic_read' from incompatible pointer type [enabled by default]
arch/tile/include/asm/atomic.h:35:19: note: expected 'const struct atomic_t *' but argument is of type 'int *'
vim +/atomic_read +660 block/blk-core.c
^1da177e drivers/block/ll_rw_blk.c Linus Torvalds 2005-04-16 644 {
c304a51b block/blk-core.c Ezequiel Garcia 2012-11-10 645 return blk_alloc_queue_node(gfp_mask, NUMA_NO_NODE);
1946089a drivers/block/ll_rw_blk.c Christoph Lameter 2005-06-23 646 }
1946089a drivers/block/ll_rw_blk.c Christoph Lameter 2005-06-23 647 EXPORT_SYMBOL(blk_alloc_queue);
^1da177e drivers/block/ll_rw_blk.c Linus Torvalds 2005-04-16 648
6f3b0e8b block/blk-core.c Christoph Hellwig 2015-11-26 649 int blk_queue_enter(struct request_queue *q, bool nowait)
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 650 {
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 651 while (true) {
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 652 int ret;
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 653
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 654 if (percpu_ref_tryget_live(&q->q_usage_counter))
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 655 return 0;
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 656
6f3b0e8b block/blk-core.c Christoph Hellwig 2015-11-26 657 if (nowait)
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 658 return -EBUSY;
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 659
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 @660 ret = wait_event_interruptible(q->mq_freeze_wq,
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 661 !atomic_read(&q->mq_freeze_depth) ||
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 662 blk_queue_dying(q));
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 663 if (blk_queue_dying(q))
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 664 return -ENODEV;
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 665 if (ret)
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 666 return ret;
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 667 }
3ef28e83 block/blk-core.c Dan Williams 2015-10-21 668 }
:::::: The code at line 660 was first introduced by commit
:::::: 3ef28e83ab15799742e55fd13243a5f678b04242 block: generic request_queue reference counting
:::::: TO: Dan Williams <dan.j.williams@intel.com>
:::::: CC: Jens Axboe <axboe@fb.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 44909 bytes --]
prev parent reply other threads:[~2016-08-05 18:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-05 17:41 Roman Pen
2016-08-05 17:41 ` [PATCH 1/1] percpu-refcount: do not forget to rcu_barrier() just before freeing Roman Pen
2016-08-05 18:04 ` [PATCH 1/1] blk-mq: fix hang caused by freeze/unfreeze sequence kbuild test robot
2016-08-05 18:19 ` kbuild test robot
2016-08-05 18:28 ` kbuild test robot [this message]
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=201608060221.P9BMhXTo%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=akinobu.mita@gmail.com \
--cc=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=kbuild-all@01.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=roman.penyaev@profitbricks.com \
--cc=tj@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®