From: Josef Bacik Date: Wed, 5 Oct 2011 20:35:28 +0000 (-0400) Subject: Btrfs: take overflow into account in reserving space X-Git-Tag: v3.2-rc1~21^2~24^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a82ca659d8bfd99afc0e89bbde2202322df5755;p=pandora-kernel.git Btrfs: take overflow into account in reserving space My overcommit stuff can be a little racy when we're filling up the disk with fs_mark and we overcommit into things that quickly get used up for data. So use num_bytes to see if we have enough available space so we're less likely to overcommit ourselves out of the ability to make reservations. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed