commit | bd6737f1ae92e2f1c6e8362efe96dbe7f18fa07d | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Fri Jan 27 01:00:47 2017 -0700 |
committer | Jens Axboe <axboe@fb.com> | Fri Jan 27 09:03:14 2017 -0700 |
tree | ffed03cc3bd01143a8e43d6daca2288836a4a9e3 | |
parent | f73f44eb00cb136990cfb7d40e436c13d7669ec8 [diff] |
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: Jens Axboe <axboe@fb.com>