Re: [PATCH v5 13/17] md: Use folio_alloc_buffers()

From: David Hildenbrand (Arm)

Date: Mon Sep 21 2026 - 05:35:47 EST


On 9/21/26 04:28, Zi Yan wrote:
> From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx>
>
> Remove the last user of alloc_page_buffers(). Use folio_alloc_buffers()
> instead, since alloc_page_buffers() is a wrap over it. Although
> the pages used in md-bitmap are not folios, as they are not mapped
> into userspace nor enter the page cache, but they still have buffer heads
> attached. Cleaning up the code to not use buffer heads is future work.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
> [reworded the commit message]
> Signed-off-by: Zi Yan <ziy@xxxxxxxxxx>

Reviewed-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>

--
Cheers,

David