• T
    xd: dequeue in-flight request · bab2a807
    Tejun Heo 提交于
    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: NTejun Heo <tj@kernel.org>
    Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
    bab2a807
xd.c 33.6 KB