Re: [PATCH] btrfs: zoned: use alloc_list instead of rcu locked device_list

David Sterba
2022-03-14T18:59:43Z

On Mon, Mar 14, 2022 at 07:16:47AM -0700, Johannes Thumshirn wrote:
> Anand pointed out, that instead of using the rcu locked version of
> fs_devices->device_list we cab use fs_devices->alloc_list, prrotected by
> the chunk_mutex to traverse the list of active deviices in
> btrfs_can_activate_zone().

Why?