diff options
author | Ming Lei <ming.lei@redhat.com> | 2022-05-12 17:00:10 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-05-12 17:45:39 +0300 |
commit | a327c341dc65e38af7a2398e7313e6f2c4a813db (patch) | |
tree | 81e27ebc624f83d86c06b5c3c1b960fcd348e7d9 /scripts/gdb/linux/utils.py | |
parent | f569add47119fa910ed7711b26b8d38e21f7ea77 (diff) | |
download | linux-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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions