From: Tejun Heo Date: Fri, 8 May 2009 02:54:03 +0000 (+0900) Subject: ataflop: dequeue and track in-flight request X-Git-Tag: v2.6.31-rc1~389^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a336ca6fe6e0c46b2eef0e520951acb4e6cb2976;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed