Btrfs: reserve space for block groups
authorJosef Bacik <jbacik@fb.com>
Wed, 18 Feb 2015 16:06:57 +0000 (08:06 -0800)
committerChris Mason <clm@fb.com>
Fri, 10 Apr 2015 21:06:48 +0000 (14:06 -0700)
commitcb723e491955ac11a1591ae25cada7c3b1470609
tree58200c48343b87ddb04048aca34e06e43e1f6b2f
parent28f75a0e6cdfbce8115487ecbc0968a2c4e01806
Btrfs: reserve space for block groups

This changes our delayed refs calculations to include the space needed
to write back dirty block groups.

Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent-tree.c
fs/btrfs/transaction.c
fs/btrfs/transaction.h