diff options
author | Ming Lei <ming.lei@redhat.com> | 2021-10-26 11:22:57 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-26 17:38:11 +0300 |
commit | ff1552232b3612edff43a95746a4e78e231ef3d4 (patch) | |
tree | 471881aa06bfa9a9fe5efb9f061b8de642ebc852 /include/linux | |
parent | 9f8b93a7df4d8e1e8715fb2a45a893cffad9da0b (diff) | |
download | linux-ff1552232b3612edff43a95746a4e78e231ef3d4.tar.xz |
blk-mq: don't issue request directly in case that current is to be blocked
When flushing plug list in case that current will be blocked, we can't
issue request directly because ->queue_rq() may sleep, otherwise scheduler
may complain.
Fixes: dc5fc361d891 ("block: attempt direct issue of plug list")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20211026082257.2889890-1-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions