diff options
author | David Sterba <dsterba@suse.com> | 2019-11-27 16:10:54 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-12-13 14:09:23 +0100 |
commit | cf93e15eca0bcb457b6a85b3480c1e379407dd26 (patch) | |
tree | 17c72be0e3dd750087a6b9e03843e3b61956d191 /fs/btrfs/extent_io.c | |
parent | 994bf9cd78aa382c0c3c70b7cf9c00f7529176c2 (diff) | |
download | lwn-cf93e15eca0bcb457b6a85b3480c1e379407dd26.tar.gz lwn-cf93e15eca0bcb457b6a85b3480c1e379407dd26.zip |
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: 47e6f7423b91 ("btrfs: add support for 3-copy replication (raid1c3)")
Fixes: 8d6fac0087e5 ("btrfs: add support for 4-copy replication (raid1c4)")
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
0 files changed, 0 insertions, 0 deletions