Re: [PATCH v2 25/46] mm/writeback: Add folio_start_writeback()

From: Christoph Hellwig
Date: Wed Jun 23 2021 - 05:21:04 EST


> +static inline void set_page_writeback_keepwrite(struct page *page)
> {
> + folio_start_writeback_keepwrite(page_folio(page));
> }
>
> +static inline bool test_set_page_writeback(struct page *page)
> {
> + return set_page_writeback(page);
> }

Shouldn't these be in folio-compat.c as well?

Otherwise looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>