diff options
author | Tejun Heo <tj@kernel.org> | 2009-05-08 04:54:03 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-05-11 09:52:15 +0200 |
commit | a336ca6fe6e0c46b2eef0e520951acb4e6cb2976 (patch) | |
tree | c981d2eab7610e0c35d00a567a21250e137291d6 /drivers/block/swim3.c | |
parent | hd: dequeue and track in-flight request (diff) | |
download | linux-a336ca6fe6e0c46b2eef0e520951acb4e6cb2976.tar.xz linux-a336ca6fe6e0c46b2eef0e520951acb4e6cb2976.zip |
ataflop: dequeue and track in-flight request
ataflop has single request in flight. Till now, whenever it needs to
access the in-flight request it called elv_next_request(). This patch
makes ataflop 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: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/swim3.c')
0 files changed, 0 insertions, 0 deletions