summaryrefslogtreecommitdiffstats
path: root/include/asm-v850/clinkage.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2005-11-10 08:52:05 +0100
committerJens Axboe <axboe@nelson.home.kernel.dk>2005-11-12 10:56:06 +0100
commit15853af9f07673680439b224519c692f1352b959 (patch)
treee6a8fc1cd34dec568883cd62102e1e626d9241d9 /include/asm-v850/clinkage.h
parent1b5ed5e1f1315e37380e55102f58bcae3344d2a7 (diff)
[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 <htejun@gmail.com> Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'include/asm-v850/clinkage.h')
0 files changed, 0 insertions, 0 deletions