• T
    hd: dequeue and track in-flight request · 8a12c4a4
    Tejun Heo 提交于
    hd has at most single request in flight.  Till now, whenever it needs
    to access the in-flight request it called elv_next_request().  This
    patch makes hd track the in-flight request directly and dequeue it
    when processing starts.  The added complexity is minimal and this will
    help future block layer changes.
    
    [ Impact: dequeue in-flight request, one elv_next_request() per request ]
    Signed-off-by: NTejun Heo <tj@kernel.org>
    Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
    8a12c4a4
hd.c 18.9 KB