btrfs: lower the dirty balance poll interval
authorWu Fengguang <fengguang.wu@intel.com>
Fri, 16 Dec 2011 17:32:57 +0000 (12:32 -0500)
committerChris Mason <chris.mason@oracle.com>
Fri, 16 Dec 2011 17:32:57 +0000 (12:32 -0500)
commit142349f541d0bb6bc3e0d4563268105aada42b0b
treec86e13b5cf8b87b3b4f3c5218442e221ce17f67b
parentdc47ce90c3a822cd7c9e9339fe4d5f61dcb26b50
btrfs: lower the dirty balance poll interval

Tests show that the original large intervals can easily make the dirty
limit exceeded on 100 concurrent dd's. So adapt to as large as the
next check point selected by the dirty throttling algorithm.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/file.c