Re: [PATCH 4/4] fs/buffer: convert create_page_buffers to folio_create_buffers

From: Hannes Reinecke
Date: Mon Apr 17 2023 - 10:05:45 EST


On 4/17/23 14:36, Pankaj Raghav wrote:
fs/buffer do not support large folios as there are many assumptions on
the folio size to be the host page size. This conversion is one step
towards removing that assumption. Also this conversion will reduce calls
to compound_head() if folio_create_buffers() calls
folio_create_empty_buffers().

Signed-off-by: Pankaj Raghav <p.raghav@xxxxxxxxxxx>
---
fs/buffer.c | 23 +++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes