summaryrefslogtreecommitdiff
path: root/block/blk-mq-sched.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2017-11-02 23:24:35 +0800
committerJens Axboe <axboe@kernel.dk>2017-11-04 12:38:40 -0600
commit598906f814280762157629ba8833bf5cb11def74 (patch)
tree082caed74d11de3c6316d0e69c1321433fbc64a2 /block/blk-mq-sched.c
parentb0850297c749ea79a5717d597931366b3d7f4b09 (diff)
blk-flush: use blk_mq_request_bypass_insert()
In the following patch, we will use RQF_FLUSH_SEQ to decide: 1) if the flag isn't set, the flush rq need to be inserted via blk_insert_flush() 2) otherwise, the flush rq need to be dispatched directly since it is in flush machinery now. So we use blk_mq_request_bypass_insert() for requests of bypassing flush machinery, just like the legacy path did. Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sched.c')
0 files changed, 0 insertions, 0 deletions