mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
btrfs: fix devs_max constraints for raid1c3 and raid1c4
The value 0 for devs_max means to spread the allocated chunks over all available devices, eg. stripe for RAID0 or RAID5. This got mistakenly copied to the RAID1C3/4 profiles. The intention is to have exactly 3 and 4 copies respectively. Fixes:47e6f7423b("btrfs: add support for 3-copy replication (raid1c3)") Fixes:8d6fac0087("btrfs: add support for 4-copy replication (raid1c4)") Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
994bf9cd78
commit
cf93e15eca
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue