]> err.no Git - linux-2.6/commit
cfq: fix IOPRIO_CLASS_IDLE accounting
authorOleg Nesterov <oleg@tv-sign.ru>
Mon, 5 Nov 2007 07:58:05 +0000 (08:58 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 7 Nov 2007 08:45:00 +0000 (09:45 +0100)
commit2389d1ef172fc9df01f58265a436919d233fbc27
treea59a1768a953ba27cf370c6634473679580c505d
parentdbeeb816e805091e7cfc03baf36dc40b4adb2bbd
cfq: fix IOPRIO_CLASS_IDLE accounting

Spotted by Nick <gentuu@gmail.com>, hopefully can explain the second trace in
http://bugzilla.kernel.org/show_bug.cgi?id=9180.

If ->async_idle_cfqq != NULL cfq_put_async_queues() puts it IOPRIO_BE_NR times
in a loop. Fix this.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c