Re: [RFC 05/23] filemap: align index to mapping_min_order in filemap_range_has_page()
From: Luis Chamberlain
Date: Mon Sep 18 2023 - 14:25:47 EST
On Fri, Sep 15, 2023 at 08:45:20PM +0100, Matthew Wilcox wrote:
> On Fri, Sep 15, 2023 at 08:38:30PM +0200, Pankaj Raghav wrote:
> > From: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> >
> > page cache is mapping min_folio_order aligned. Use mapping min_folio_order
> > to align the start_byte and end_byte in filemap_range_has_page().
>
> What goes wrong if you don't? Seems to me like it should work.
Will drop from the series after confirming, thanks.
Luis