]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cfq_exit_queue() should cancel cfq_data->unplug_work
authorOleg Nesterov <oleg@tv-sign.ru>
Tue, 23 Oct 2007 13:08:18 +0000 (15:08 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 29 Oct 2007 10:33:05 +0000 (11:33 +0100)
commit4310864b9d17714e64446bfb8bc7dbcb96454475
treeb3a1efec204dc7eeb05ccdb28a954efe6ec8f621
parentb238b3d4be04d3acf1f86ff8ad0b0e803def67ff
cfq_exit_queue() should cancel cfq_data->unplug_work

Spotted by Nick <gentuu@gmail.com>, perhaps explains the first trace in
http://bugzilla.kernel.org/show_bug.cgi?id=9180.

cfq_exit_queue() should cancel cfqd->unplug_work before freeing cfqd.
blk_sync_queue() seems unneeded, removed.

Q: why cfq_exit_queue() calls cfq_shutdown_timer_wq() twice?

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