• Tejun Heo's avatar
    xsysace: dequeue in-flight request · 2d75ce08
    Tejun Heo authored
    xsysace already tracks in-flight request using ace->req.  Converting
    to dequeueing model is mostly a matter of adding dequeueing call after
    request fetching.  The only tricky part is handling CF removal which
    should complete both in flight and on queue requests.  Convert to
    dequeueing model.
    
    While at it, remove explicit blk_rq_cur_bytes() and use
    __blk_end_request_cur() instead.
    
    [ Impact: dequeue in-flight request ]
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Grant Likely <grant.likely@secretlab.ca>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    2d75ce08
xsysace.c 34.1 KB