Skip to content
Commit 6079e12c authored by David Sterba's avatar David Sterba
Browse files

btrfs: use raid_attr table to find profiles for integrity lowering



Replace open coded list of the profiles by selecting them from the
raid_attr table. The criteria are now more explicit, we need profiles
that have more than 1 copy of the data or can reconstruct the data with
a missing device.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 081db89b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment