fuse: Remove fuse_writepage
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 28 Feb 2024 18:29:37 +0000 (18:29 +0000)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 5 Mar 2024 13:07:24 +0000 (14:07 +0100)
commite1c420ac9968f40cc266ec648cce12fa55c891db
tree1906820c10cd47d40dc0e71a0b81751257031b57
parentf9c29137392e77319f9974c2cdf27d087f05abee
fuse: Remove fuse_writepage

The writepage operation is deprecated as it leads to worse performance
under high memory pressure due to folios being written out in LRU order
rather than sequentially within a file.  Use filemap_migrate_folio() to
support dirty folio migration instead of writepage.

Signed-off-by: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/file.c