• Tejun Heo's avatar
    paride: dequeue in-flight request · b12d4f82
    Tejun Heo authored
    pd/pf/pcd have track in-flight request by pd/pf/pcd_req.  They can be
    converted to dequeueing model by updating fetching and completion
    paths.  Convert them.
    
    Note that removal of elv_next_request() call from pf_next_buf()
    doesn't make any functional difference.  The path is traveled only
    during partial completion of a request and elv_next_request() call
    must return the same request anyway.
    
    [ Impact: dequeue in-flight request ]
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Tim Waugh <tim@cyberelk.net>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    b12d4f82
pf.c 24 KB