Btrfs: unplug every once and a while
authorChris Mason <chris.mason@oracle.com>
Thu, 15 Dec 2011 20:38:41 +0000 (15:38 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 15 Dec 2011 20:38:41 +0000 (15:38 -0500)
commitd85c8a6f1bc083279215ff6e79b7c292bf3ec905
treea816e64b9c9fa84ae3033ecf12a21a429a7301d9
parent567a45e917343c952806bb9f5c19aab0139bd519
Btrfs: unplug every once and a while

The btrfs io submission threads can build up massive plug lists.  This
keeps things more reasonable so we don't hand over huge dumps of IO at
once.

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