Re: [PATCH 5/9] iomap: Support arbitrarily many blocks per page

From: Matthew Wilcox
Date: Tue Aug 25 2020 - 22:26:34 EST


On Tue, Aug 25, 2020 at 02:02:03PM -0700, Darrick J. Wong wrote:
> > /*
> > - * Structure allocated for each page when block size < PAGE_SIZE to track
> > + * Structure allocated for each page when block size < page size to track
> > * sub-page uptodate status and I/O completions.
>
> "for each regular page or head page of a huge page"? Or whatever we're
> calling them nowadays?

Well, that's what I'm calling a "page" ;-)

How about "for each page or THP"? The fact that it's stored in the
head page is incidental -- it's allocated for the THP.