Skip to content
Commit bd6737f1 authored by Jens Axboe's avatar Jens Axboe
Browse files

blk-mq-sched: add flush insertion into blk_mq_sched_insert_request()



Instead of letting the caller check this and handle the details
of inserting a flush request, put the logic in the scheduler
insertion function. This fixes direct flush insertion outside
of the usual make_request_fn calls, like from dm via
blk_insert_cloned_request().

Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent f73f44eb
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