Re: [PATCH v8 02/11] btrfs: read raid-stripe-tree from disk

From: Johannes Thumshirn
Date: Thu Sep 14 2023 - 05:33:24 EST


On 14.09.23 11:27, Qu Wenruo wrote:
>> +static inline struct btrfs_root *btrfs_stripe_tree_root(struct btrfs_fs_info *fs_info)
>> +{
>> + return fs_info->stripe_root;
>> +}
>> +
>
> Do we really need this? IIRC we never have a wrapper or fs_info->fs_root.

This was requested from Josef a while ago, to make the conversion to
per-block-group stripe trees easier. But hch also wanted me to remove it
(and I thought I already did) so lemme get rid of it if Josef doesn't
speak up.