summaryrefslogtreecommitdiff
path: root/drivers/nvme
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2022-05-12 17:00:10 +0300
committerJens Axboe <axboe@kernel.dk>2022-05-12 17:45:39 +0300
commita327c341dc65e38af7a2398e7313e6f2c4a813db (patch)
tree81e27ebc624f83d86c06b5c3c1b960fcd348e7d9 /drivers/nvme
parentf569add47119fa910ed7711b26b8d38e21f7ea77 (diff)
downloadlinux-a327c341dc65e38af7a2398e7313e6f2c4a813db.tar.xz
blk-mq: fix passthrough plugging
First we can't add request into plug list in blk_mq_request_bypass_insert which may be called when flushing plug list, so nested plug is caused. Second if polled passthrough request is inserted via blk_execute_rq(), it can't be added to plug list too since io polling needs the request to be issued to driver. Fixes the two by moving plugging into blk_execute_rq_no_wait(). Cc: Christoph Hellwig <hch@lst.de> Fixes: 1c2d2fff6dc0 ("block: wire-up support for passthrough plugging") Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20220512140010.1458645-1-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions