Btrfs: increase the global block reserve estimates
authorLiu Bo <liubo2009@cn.fujitsu.com>
Thu, 23 Feb 2012 15:49:04 +0000 (10:49 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 23 Feb 2012 15:49:04 +0000 (10:49 -0500)
commit5500cdbe14d7435e04f66ff3cfb8ecd8b8e44ebf
treee09399d4a56fcbad38765fd24c7c6e8782f438de
parent506531905296d6aee84480c879b25ea98c3f9db6
Btrfs: increase the global block reserve estimates

When doing IO with large amounts of data fragmentation, the global block
reserve calulations are too low.  This increases them to avoid
ENOSPC crashes.

Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c