• T
    block: reorganize request fetching functions · 158dbda0
    Tejun Heo 提交于
    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: NTejun Heo <tj@kernel.org>
    158dbda0
blk.h 4.1 KB