commit | 0cacba6cf8252438f8166bd3fa1c3370dd28a769 | [log] [tgz] |
---|---|---|
author | Omar Sandoval <osandov@fb.com> | Thu Feb 02 15:42:39 2017 -0800 |
committer | Jens Axboe <axboe@fb.com> | Thu Feb 02 16:57:56 2017 -0700 |
tree | c2b1dc91a0dadcc07be4e2fded65622d176c2720 | |
parent | e17354961bb50931ec7b33f59c0713dcf98ac7d2 [diff] |
blk-mq-sched: bypass the scheduler for flushes entirely There's a weird inconsistency that flushes are mostly hidden from the scheduler, but it needs to be aware of them in ->insert_requests(). Instead of having every scheduler call blk_mq_sched_bypass_insert(), let's do it in the common framework. Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>