Re: [PATCH] mm/filemap: allocate folios according to the blocksize

From: Hannes Reinecke
Date: Mon Apr 17 2023 - 02:31:21 EST


On 4/17/23 08:27, Christoph Hellwig wrote:
On Mon, Apr 17, 2023 at 08:08:04AM +0200, Hannes Reinecke wrote:
On 4/17/23 06:36, Christoph Hellwig wrote:
On Fri, Apr 14, 2023 at 03:49:08PM +0200, Hannes Reinecke wrote:
If the blocksize is larger than the pagesize allocate folios
with the correct order.

And how is that supposed to actually happen?

By using my patcheset to brd and set the logical blocksize to eg 16k.

Then add it to your patchset instead of trying to add dead code to the
kernel while also losing context.

Yeah, sorry. Was a bit overexcited here.

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@xxxxxxx +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew
Myers, Andrew McDonald, Martje Boudien Moerman