nfs: Remove writepage
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 15 Dec 2023 20:47:07 +0000 (20:47 +0000)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 4 Jan 2024 15:47:56 +0000 (10:47 -0500)
commit12fc0a963128b54b82e98b9909f463e784b90b07
treefbbf286373172dbab758f45ab87ccdefecfba4bd
parent1fd5394e6ab8b11465a5d0867f188fad1835a762
nfs: Remove writepage

NFS already has writepages and migrate_folio, so it does not need to
implement 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.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/file.c
fs/nfs/write.c
include/linux/nfs_fs.h