summaryrefslogtreecommitdiffstats
path: root/drivers/block/ataflop.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-05-08 04:54:02 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-05-11 09:52:15 +0200
commit8a12c4a456c7ee261a85c2cbec835601e6aae05a (patch)
tree90142ec5d30b1a74ded14ac013408c7390caeb1b /drivers/block/ataflop.c
parentmg_disk: dequeue and track in-flight request (diff)
downloadlinux-8a12c4a456c7ee261a85c2cbec835601e6aae05a.tar.xz
linux-8a12c4a456c7ee261a85c2cbec835601e6aae05a.zip
hd: dequeue and track in-flight request
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: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/ataflop.c')
0 files changed, 0 insertions, 0 deletions