Re: [PATCH] btrfs: Turn fs_roots_radix in btrfs_fs_info into an XArray

David Sterba
2022-05-02T18:43:54Z

On Mon, May 02, 2022 at 10:59:01AM +0200, Gabriel Niebler wrote:
> Am 28.04.22 um 13:59 schrieb Nikolay Borisov:
> > On 27.04.22 г. 0:45 ч., Gabriel Niebler wrote:
> >> … rename it to simply fs_roots and adjust all usages of this object to
> > While the while/xa_for_each_marked and not straight xa_for_each_marked?
>
> Like before, this just mimicks the old logic, because I wasn't sure
> whether the double loop is only due to the bunched nature of gang lookup
> or whether it has some additional safeguarding function.
>
> I'm fine with simplifying it to xa_for_each_marked if you say it's safe.
>
> Waiting for further feedback whether to resubmit or not.

I don't have any more comments and it's rc5 so not much time left before
code freeze, so please resend, thanks.