[Ocfs2-devel] remove write_one_page / folio_write_one
Matthew Wilcox
willy at infradead.org
Sun Jan 8 21:31:30 UTC 2023
On Sun, Jan 08, 2023 at 05:56:38PM +0100, Christoph Hellwig wrote:
> this series removes the write_one_page API, and it's folioized
> implementation as folio_write_one. These helpers internally call
> ->writepage which we are gradually removing from the kernel.
>
> For most callers there are better APIs to use, and this cleans them up.
> The big questionmark is jfs, where the metapage abstraction uses the
> pagecache in a bit of an odd way, and which would probably benefit from
> not using the page cache at all like the XFS buffer cache, but given
> that jfs has been in minimum maintaince mode for a long time that might
> not be worth it. So for now it just moves the implementation of
> write_one_page into jfs instead.
Thanks. This totally wrecks a patchset I was working on, but it's
definitely the right thing to do, and I'll rebase on top of it once
it's in. Looking forward to v2 with my niggles fixed ;-)
More information about the Ocfs2-devel
mailing list