Re: [PATCH v2 10/25] fs: Introduce i_blocks_per_page

From: Matthew Wilcox
Date: Thu Feb 13 2020 - 11:07:10 EST


On Thu, Feb 13, 2020 at 06:40:10PM +0300, Kirill A. Shutemov wrote:
> On Tue, Feb 11, 2020 at 08:18:30PM -0800, Matthew Wilcox wrote:
> > From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx>
> >
> > This helper is useful for both large pages in the page cache and for
> > supporting block size larger than page size. Convert some example
> > users (we have a few different ways of writing this idiom).
>
> Maybe we should list what was converted and what wasn't. Like it's
> important to know that fs/buffer.c is not covered.

I don't know what could have been converted and wasn't ... I just went
looking for a few places that use idioms like this. Happy to add some
more examples.