From: Chris Mason Date: Thu, 4 Aug 2011 18:28:36 +0000 (-0400) Subject: Btrfs: force unplugs when switching from high to regular priority bios X-Git-Tag: v3.1-rc3~14^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ab1ba68aeaecd41c4b34f0eaf1d70a37367fb1a;p=pandora-kernel.git Btrfs: force unplugs when switching from high to regular priority bios Btrfs does bio submissions from a worker thread, and each device has a list of high priority bios and regular priority bios. Synchronous writes go to the high priority thread while async writes go to regular list. This commit brings back an explicit unplug any time we switch from high to regular priority, which makes it easier for the block layer to give us low latencies. Signed-off-by: Chris Mason --- Reading git-diff-tree failed