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