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

Matthew Wilcox
2020-02-13T16:07:09Z

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@infradead.org>
> >
> > 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.