From: Andreas Philipp Date: Sat, 11 May 2013 11:13:03 +0000 (+0000) Subject: Correct allowed raid levels on balance. X-Git-Tag: v3.10-rc2~7^2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8250dabedb633e162bce89f2aacf5e65fa9e6464;p=pandora-kernel.git Correct allowed raid levels on balance. Raid5 with 3 devices is well defined while the old logic allowed raid5 only with a minimum of 4 devices when converting the block group profile via btrfs balance. Creating a raid5 with just three devices using mkfs.btrfs worked always as expected. This is now fixed and the whole logic is rewritten. Signed-off-by: Andreas Philipp Signed-off-by: Josef Bacik --- Reading git-diff-tree failed