[Ocfs2-devel] remove write_one_page / folio_write_one
David Sterba
dsterba at suse.cz
Mon Jan 9 19:53:09 UTC 2023
On Sun, Jan 08, 2023 at 05:56:38PM +0100, Christoph Hellwig wrote:
> Hi all,
>
> 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.
>
> Diffstat:
> fs/btrfs/volumes.c | 50 ++++++++++++++++++++++++------------------------
The btrfs patches were sent separately some time ago, now merged to
misc-next with updated changelogs and with the suggested switch to folio
API in the 2nd patch.
More information about the Ocfs2-devel
mailing list