• Tejun Heo's avatar
    block: reorganize request fetching functions · 158dbda0
    Tejun Heo authored
    Impact: code reorganization
    
    elv_next_request() and elv_dequeue_request() are public block layer
    interface than actual elevator implementation.  They mostly deal with
    how requests interact with block layer and low level drivers at the
    beginning of rqeuest processing whereas __elv_next_request() is the
    actual eleveator request fetching interface.
    
    Move the two functions to blk-core.c.  This prepares for further
    interface cleanup.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    158dbda0
elevator.c 24.1 KB