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

From: Christoph Hellwig
Date: Mon Apr 17 2023 - 02:27:11 EST


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.