]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: do some plugging in the submit_bio threads
authorChris Mason <chris.mason@oracle.com>
Wed, 20 Apr 2011 00:12:40 +0000 (20:12 -0400)
committerChris Mason <chris.mason@oracle.com>
Wed, 20 Apr 2011 00:12:40 +0000 (20:12 -0400)
commitc382cca187c221f5974dcac1e1582d4b11d46946
treef08e790405975124483bd49edcdcba6a0c4d8d8d
parent04a81b7dda9e1cf81341f6302243e921356835e6
Btrfs: do some plugging in the submit_bio threads

The Btrfs submit bio threads have a small number of
threads responsible for pushing down bios we've collected
for a large number of devices.

Since we do all the bios for a single device at once,
we want to make sure we unplug and send down the bios
for each device as we're done processing them.

The new plugging API removed the btrfs code to
unplug while processing bios, this adds it back with
the new API.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/volumes.c