Re: [PATCH 3/3] btrfs: use btrfs_raid_array in btrfs_reduce_alloc_profile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <zhaolei@xxxxxxxxxxxxxx>

Reviewed-by: David Sterba <dsterba@xxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux