aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-05-17 11:43:15 +0200
committerDavid Sterba <dsterba@suse.com>2019-07-01 13:34:56 +0200
commit49cc180ca916cc3af9ab109a0497e86ccf20d641 (patch)
treeb527a81176c81bc017404bb27cf9232fedb9a02f /fs/btrfs/volumes.h
parentbtrfs: fix minimum number of chunk errors for DUP (diff)
downloadlinux-dev-49cc180ca916cc3af9ab109a0497e86ccf20d641.tar.xz
linux-dev-49cc180ca916cc3af9ab109a0497e86ccf20d641.zip
btrfs: raid56: allow the exact minimum number of devices for balance convert
The minimum number of devices for RAID5 is 2, though this is only a bit expensive RAID1, and for RAID6 it's 3, which is a triple copy that works only 3 devices. mkfs.btrfs allows that and mounting such filesystem also works, so the conversion via balance filters is inconsistent with the others and we should not prevent it. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
0 files changed, 0 insertions, 0 deletions