diff options
author | Zhao Lei <zhaolei@cn.fujitsu.com> | 2015-09-15 16:08:08 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-10-21 19:28:48 +0300 |
commit | 9c170b2644610a62b107c12a007e065d4456798d (patch) | |
tree | 3c041e94ba9021168868ebfa80d221cd501182d8 /fs/btrfs/file.c | |
parent | 8789f4fe608922f484369382a8e507ca12df7f4e (diff) | |
download | linux-9c170b2644610a62b107c12a007e065d4456798d.tar.xz |
btrfs: use btrfs_raid_array in btrfs_reduce_alloc_profile
btrfs_raid_array[] holds attributes of all raid types.
Use btrfs_raid_array[].devs_min is best way for request
in btrfs_reduce_alloc_profile(), instead of use complex
condition of each raid types.
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions