Skip to content
Commit 8250dabe authored by Andreas Philipp's avatar Andreas Philipp Committed by Josef Bacik
Browse files

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: default avatarAndreas Philipp <philipp.andreas@gmail.com>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
parent 379cde74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment