[PATCH 0/2] Finalising swap-over-NFS patches

From: NeilBrown
Date: Thu Apr 28 2022 - 20:44:43 EST


Hi Andrew,
Two patches for current -mm branch.

First fixes an omission pointed out by Miaohe Lin. Huge pages weren't
handled correctly.

Second changes NFS to use the new ->swap_rw

With this, swap over NFS largely works again. I think there is a little
more work to do in NFS/SUNRPC code to make allocations on the swap out
path behave optimally. Any such changes can go through the NFS tree.

Thanks,
NeilBrown

---

NeilBrown (2):
MM: handle THP in swap_*page_fs()
NFS: rename nfs_direct_IO and use as ->swap_rw


fs/nfs/direct.c | 23 ++++++++++-------------
fs/nfs/file.c | 5 +----
include/linux/nfs_fs.h | 2 +-
mm/page_io.c | 23 +++++++++++++----------
4 files changed, 25 insertions(+), 28 deletions(-)

--
Signature