Re: [PATCH v14 072/138] mm/writeback: Add folio_account_cleaned()

David Howells
2021-08-10T21:22:25Z

Matthew Wilcox (Oracle) <willy@infradead.org> wrote:

> Get the statistics right; compound pages were being accounted as a
> single page. This didn't matter before now as no filesystem which
> supported compound pages did writeback. Also move the declaration
> to filemap.h since this is part of the page cache. Add a wrapper for
> account_page_cleaned().
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
> Reviewed-by: Christoph Hellwig <hch@lst.de>

Reviewed-by: David Howells <dhowells@redhat.com>