Re: [PATCH 4/7] btrfs-progs: Introduce btrfs_raid_array and related infrastructures

2018-02-02 Thread Qu Wenruo
On 2018年02月02日 19:37, Nikolay Borisov wrote: > > > On 2.02.2018 10:19, Qu Wenruo wrote: >> As part of the effort to unify code and behavior between btrfs-progs and >> kernel, copy the btrfs_raid_array from kernel to btrfs-progs. >> >> So later we can use the btrfs_raid_array[] to get needed ra

Re: [PATCH 4/7] btrfs-progs: Introduce btrfs_raid_array and related infrastructures

2018-02-02 Thread Nikolay Borisov
On 2.02.2018 10:19, Qu Wenruo wrote: > As part of the effort to unify code and behavior between btrfs-progs and > kernel, copy the btrfs_raid_array from kernel to btrfs-progs. > > So later we can use the btrfs_raid_array[] to get needed raid info other > than manually do if-else branches. > >