Re: [PATCH v14 128/138] iomap: Support multi-page folios in invalidatepage

Matthew Wilcox
2021-07-16T02:50:10Z

On Thu, Jul 15, 2021 at 03:10:18PM -0700, Darrick J. Wong wrote:
> On Thu, Jul 15, 2021 at 04:36:54AM +0100, Matthew Wilcox (Oracle) wrote:
> > If we're punching a hole in a multi-page folio, we need to remove the
> > per-page iomap data as the folio is about to be split and each page will
> > need its own. This means that writepage can now come across a page with
> > no iop allocated, so remove the assertion that there is already one,
> > and just create one (with the uptodate bits set) if there isn't one.
> >
> > Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
>
> Lol, Andreas already did the bottom half of the change for you.

Heh, yes, I copy-and-pasted it from this patch ;-) Thanks for
merging it!