diff options
author | Andreas Philipp <philipp.andreas@gmail.com> | 2013-05-11 13:13:03 +0200 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-18 03:40:20 +0200 |
commit | 8250dabedb633e162bce89f2aacf5e65fa9e6464 (patch) | |
tree | 28854bca8fabdb3d7f24c0d982a6aaee09d7223d /fs/btrfs/free-space-cache.c | |
parent | Btrfs: fix possible memory leak in replace_path() (diff) | |
download | linux-8250dabedb633e162bce89f2aacf5e65fa9e6464.tar.xz linux-8250dabedb633e162bce89f2aacf5e65fa9e6464.zip |
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 <philipp.andreas@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
0 files changed, 0 insertions, 0 deletions