commit | 46df06b85e28eaf430aa5c8f8aa26120fa746b72 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Fri Jul 13 20:46:30 2018 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Aug 06 13:12:53 2018 +0200 |
tree | 274185638f029f3be8da1ab56d2f84bbd98943e1 | |
parent | 321a4bf72b251319aa456ea542161729442b6f61 [diff] |
btrfs: refactor block group replication factor calculation to a helper There are many places that open code the duplicity factor of the block group profiles, create a common helper. This can be easily extended for more copies. Signed-off-by: David Sterba <dsterba@suse.com>