diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2017-12-21 15:43:41 +0900 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-05 09:22:17 -0700 |
commit | c117bac70133dbff9ed7fcbd91ef82b4ee518797 (patch) | |
tree | c7ce23c0147bfc758e15f367881edbdba325d67e /include/uapi | |
parent | 5700f69178e91a6b21250049b86148ed5e9550c1 (diff) | |
download | linux-c117bac70133dbff9ed7fcbd91ef82b4ee518797.tar.gz linux-c117bac70133dbff9ed7fcbd91ef82b4ee518797.tar.bz2 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 'include/uapi')
0 files changed, 0 insertions, 0 deletions