]> git.baikalelectronics.ru Git - kernel.git/commit
block: sunvdc: don't run hw queue synchronously from irq context
authorMing Lei <ming.lei@redhat.com>
Thu, 3 Jan 2019 01:19:48 +0000 (09:19 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 3 Jan 2019 15:21:47 +0000 (08:21 -0700)
commit720e67f9dd2a0a7183ef3e53c8023e24da90f35d
tree0c8d3d36055c0eb488326154cf2cdc2aa4f6a12d
parentebdc7027e40945ac1ec25dd6f4e5ff0a70bace5d
block: sunvdc: don't run hw queue synchronously from irq context

vdc_blk_queue_start() may be called from irq context, so we can't run
queue via blk_mq_start_hw_queues() since we never allow to run queue
from irq context. Use blk_mq_start_stopped_hw_queues(q, true) to fix
this issue.

Fixes: abdd8c60568ae738aa ("sunvdc: convert to blk-mq")
Reported-by: Anatoly Pugachev <matorola@gmail.com>
Tested-by: Anatoly Pugachev <matorola@gmail.com>
Cc: Anatoly Pugachev <matorola@gmail.com>
Cc: sparclinux@vger.kernel.org
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/sunvdc.c