diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2017-12-21 07:43:41 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-05 17:22:17 +0100 |
commit | c117bac70133dbff9ed7fcbd91ef82b4ee518797 (patch) | |
tree | c7ce23c0147bfc758e15f367881edbdba325d67e /block/bfq-iosched.c | |
parent | mq-deadline: Introduce zone locking support (diff) | |
download | linux-c117bac70133dbff9ed7fcbd91ef82b4ee518797.tar.xz linux-c117bac70133dbff9ed7fcbd91ef82b4ee518797.zip |
deadline-iosched: Introduce dispatch helpers
Avoid directly referencing the next_rq and fifo_list arrays using the
helper functions deadline_next_request() and deadline_fifo_request() to
facilitate changes in the dispatch request selection in
deadline_dispatch_requests() for zoned block devices.
While at it, also remove the unnecessary forward declaration of the
function deadline_move_request().
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-iosched.c')
0 files changed, 0 insertions, 0 deletions