]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - block/blk-mq.c
blk-mq: turn WARN_ON in __blk_mq_run_hw_queue into printk
authorMing Lei <ming.lei@redhat.com>
Thu, 29 Mar 2018 02:27:12 +0000 (23:27 -0300)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 29 Mar 2018 12:50:41 +0000 (07:50 -0500)
commit540111689a84c7ce601fb0f5c439cf041e09e858
tree608fa79abde5653753a7bd922bb86a3e06753f4b
parent9403a13fd07ef6a5fff7a69860f419d16641bb60
blk-mq: turn WARN_ON in __blk_mq_run_hw_queue into printk

BugLink: http://bugs.launchpad.net/bugs/1759722
We know this WARN_ON is harmless and in reality it may be trigged,
so convert it to printk() and dump_stack() to avoid to confusing
people.

Also add comment about two releated races here.

Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Stefan Haberland <sth@linux.vnet.ibm.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "jianchao.wang" <jianchao.w.wang@oracle.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
(cherry picked from commit 7df938fbc4ee641e70e05002ac67c24b19e86e74)
Signed-off-by: Jose Ricardo Ziviani <joserz@linux.vnet.ibm.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
block/blk-mq.c