From: Jens Axboe Date: Thu, 18 Sep 2008 16:22:54 +0000 (-0700) Subject: block: blk_cleanup_queue() should call blk_sync_queue() X-Git-Tag: v2.6.28-rc1~733^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3335de94067dbebe22e3962632ead34e832cb60;p=pandora-kernel.git block: blk_cleanup_queue() should call blk_sync_queue() When a driver calls blk_cleanup_queue(), the device should be fully idle. However, the block layer may have pending plugging timers and the IO schedulers may have pending work in the work queues. So quisce the device by waiting for the timer and flushing the work queues. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed