From: liubo Date: Wed, 3 Aug 2011 10:15:25 +0000 (+0000) Subject: Btrfs: check if there is enough space for balancing smarter X-Git-Tag: v3.1-rc3~14^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdcb725c05fe0cb71777c66ddc2445fedbbb3c59;p=pandora-kernel.git Btrfs: check if there is enough space for balancing smarter When checking if there is enough space for balancing a block group, since we do not take raid types into consideration, we do not account corrent amounts of space that we needed. This makes us do some extra work before we get ENOSPC. Signed-off-by: Liu Bo Signed-off-by: Chris Mason --- Reading git-diff-tree failed