• Tejun Heo's avatar
    xd: dequeue in-flight request · bab2a807
    Tejun Heo authored
    xd processes requests one-by-one synchronously and can be easily
    converted to dequeueing model.  Convert it.
    
    While at it, use rq_cur_bytes instead of rq_bytes when checking for
    sector overflow.  This is for for consistency and better behavior for
    merged requests.
    
    [ Impact: dequeue in-flight request ]
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    bab2a807
xd.c 33.6 KB