From: Tejun Heo Date: Wed, 19 Oct 2011 12:32:38 +0000 (+0200) Subject: block: reorganize queue draining X-Git-Tag: v3.2-rc1~49^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3c78ca524d230bc145e902625e88c392a58ddf3;p=pandora-kernel.git block: reorganize queue draining Reorganize queue draining related code in preparation of queue exit changes. * Factor out actual draining from elv_quiesce_start() to blk_drain_queue(). * Make elv_quiesce_start/end() responsible for their own locking. * Replace open-coded ELVSWITCH clearing in elevator_switch() with elv_quiesce_end(). This patch doesn't cause any visible functional difference. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe --- Reading git-diff-tree failed