The quilt patch titled Subject: nfs: fix nfs_swap_rw for large-folio swap has been removed from the -mm tree. Its filename was nfs-fix-nfs_swap_rw-for-large-folio-swap.patch This patch was dropped because an alternative patch was or shall be merged ------------------------------------------------------ From: Christoph Hellwig <hch@xxxxxx> Subject: nfs: fix nfs_swap_rw for large-folio swap Date: Fri, 14 Jun 2024 12:03:25 +0200 The series "large folios swap-in: handle refault cases first" will permit the MM to swap out larger than page size chunks. NFS has all code ready to handle this, but has a VM_BUG_ON that triggers when this happens. Simply remove the VM_BUG_ON to fix this use case. Link: https://lkml.kernel.org/r/20240614100329.1203579-2-hch@xxxxxx Signed-off-by: Christoph Hellwig <hch@xxxxxx> Reviewed-by: Jeff Layton <jlayton@xxxxxxxxxx> Cc: Anna Schumaker <anna@xxxxxxxxxx> Cc: Steve French <sfrench@xxxxxxxxx> Cc: Trond Myklebust <trondmy@xxxxxxxxxx> Cc: Chuanhua Han <hanchuanhua@xxxxxxxx> Cc: Barry Song <v-songbaohua@xxxxxxxx> Cc: Ryan Roberts <ryan.roberts@xxxxxxx> Cc: Chris Li <chrisl@xxxxxxxxxx> Cc: "Huang, Ying" <ying.huang@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/nfs/direct.c | 2 -- 1 file changed, 2 deletions(-) --- a/fs/nfs/direct.c~nfs-fix-nfs_swap_rw-for-large-folio-swap +++ a/fs/nfs/direct.c @@ -141,8 +141,6 @@ int nfs_swap_rw(struct kiocb *iocb, stru { ssize_t ret; - VM_BUG_ON(iov_iter_count(iter) != PAGE_SIZE); - if (iov_iter_rw(iter) == READ) ret = nfs_file_direct_read(iocb, iter, true); else _ Patches currently in -mm which might be from hch@xxxxxx are nfs-drop-the-incorrect-assertion-in-nfs_swap_rw.patch