Re: [RFC ONLY 3/8] btrfs: read raid-stripe-tree from disk

Johannes Thumshirn
2022-05-19T11:44:13Z

On 19/05/2022 12:37, Qu Wenruo wrote:
>> RAID1 on zoned only needs a stripe tree for data, not for meta-data/system,
>> so it will work and we can bootstrap from it.
>>
> That sounds good.
>
> And in that case, we don't need to put stripe tree into system chunks at
> all.
>
> So this method means, stripe tree is only useful for data.
> Although it's less elegant, it's much saner.

Yes and no. People still might want to use different metadata profiles than
RAID1. I'd prefer to have system on RAID1 (forced) with stripe trees and
data/meta-data can be whatever. Of cause only RAID5/6 or higher level encodings
which might need a stripe-tree should be accpeted with a stripe tree.