From: Tejun Heo Date: Thu, 10 Nov 2005 07:52:05 +0000 (+0100) Subject: [BLOCK] Implement elv_drain_elevator for improved switch error detection X-Git-Tag: v2.6.15-rc2~227 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15853af9f07673680439b224519c692f1352b959;p=pandora-kernel.git [BLOCK] Implement elv_drain_elevator for improved switch error detection This patch adds request_queue->nr_sorted which keeps the number of requests in the iosched and implement elv_drain_elevator which performs forced dispatching. elv_drain_elevator checks whether iosched actually dispatches all requests it has and prints error message if it doesn't. As buggy forced dispatching can result in wrong barrier operations, I think this extra check is worthwhile. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe --- Reading git-diff-tree failed