On Tue, Sep 15, 2015 at 09:08:08PM +0800, Zhao Lei wrote:
> 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.
>
> Signed-off-by: Zhao Lei
Re
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.
Signed-off-by: Zhao Lei
---
fs/btrfs/extent-tree.c | 48 ++