Re: [PATCH 15/17] gfs2: use bdev_rw_virt in gfs2_read_super

2025-04-24 Thread Andreas Gruenbacher
On Thu, Apr 24, 2025 at 8:23 AM Damien Le Moal wrote: > On 4/22/25 23:26, Christoph Hellwig wrote: > > Switch gfs2_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 b

Re: [PATCH 15/17] gfs2: use bdev_rw_virt in gfs2_read_super

2025-04-23 Thread Damien Le Moal
On 4/22/25 23:26, Christoph Hellwig wrote: > Switch gfs2_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. > > Sig