Skip to content
Commit 8fa9f556 authored by huhai's avatar huhai Committed by Jens Axboe
Browse files

blk-mq: remove redundant insert case in blk_mq_make_request()



We can use blk_mq_sched_insert_request() even if we don't have
an IO scheduler attached, since that case will end up being
exactly the same as what blk_mq_queue_io() was doing now.

Signed-off-by: default avatarhuhai <huhai@kylinos.cn>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent da3c6efe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment