Ming Lei a6a252e649 blk-mq-sched: decide how to handle flush rq via RQF_FLUSH_SEQ
In case of IO scheduler we always pre-allocate one driver tag before
calling blk_insert_flush(), and flush request will be marked as
RQF_FLUSH_SEQ once it is in flush machinery.

So if RQF_FLUSH_SEQ isn't set, we call blk_insert_flush() to handle
the request, otherwise the flush request is dispatched to ->dispatch
list directly.

This is a preparation patch for not preallocating a driver tag for flush
requests, and for not treating flush requests as a special case. This is
similar to what the legacy path does.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2017-11-04 12:38:50 -06:00
..
2017-10-16 13:00:12 -06:00
2017-10-01 01:26:21 -06:00
2017-10-10 13:48:14 -06:00
2017-04-21 07:56:23 -06:00
2017-08-18 08:36:58 -06:00
2017-08-29 10:50:30 -06:00
2017-10-25 12:36:50 -06:00
2017-11-03 10:31:48 -06:00