[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZDlbidnLtgYGMXie@casper.infradead.org>
Date: Fri, 14 Apr 2023 14:56:25 +0100
From: Matthew Wilcox <willy@...radead.org>
To: Hannes Reinecke <hare@...e.de>
Cc: Pankaj Raghav <p.raghav@...sung.com>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
mcgrof@...nel.org
Subject: Re: [PATCH] mm/filemap: allocate folios according to the blocksize
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.
I think you also need to get the one in page_cache_ra_unbounded()
and page_cache_ra_order() also needs some love?
It might help to put an assertion in __filemap_add_folio() to be sure
we're not doing something unacceptable.
Powered by blists - more mailing lists