Re: [PATCH v14 066/138] mm/writeback: Add __folio_end_writeback()

From
David Howells <dhowells@redhat.com>
Date
2021-08-10 21:16:16
Also in
linux-fsdevel, lkml
Reply to
Matthew Wilcox (Oracle), 2021-07-15
Matthew Wilcox (Oracle) [off-list ref] wrote:
test_clear_page_writeback() is actually an mm-internal function, although
it's named as if it's a pagecache function.  Move it to mm/internal.h,
rename it to __folio_end_writeback() and change the return type to bool.

The conversion from page to folio is mostly about accounting the number
of pages being written back, although it does eliminate a couple of
calls to compound_head().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Howells <dhowells@redhat.com>

Thread (389 messages) 389 messages, 13 authors, last reply 2021-08-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help