Re: [PATCH 16/17] zonefs: use bdev_rw_virt in zonefs_read_super

Damien Le Moal
2025-04-24T06:24:07Z

On 4/22/25 23:26, Christoph Hellwig wrote:
> Switch zonefs_read_super to allocate the superblock buffer using kmalloc
> which falls back to the page allocator for PAGE_SIZE allocation but
> gives us a kernel virtual address and then use bdev_rw_virt to perform
> the synchronous read into it.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Acked-by: Damien Le Moal <dlemoal@kernel.org>

--
Damien Le Moal
Western Digital Research