2024-06-14 10:19:50

by Christoph Hellwig

[permalink] [raw]
Subject: fix swap on NFS

Hi all,

as of 6.10-rc swap can swap out larger than PAGE_SIZE chunks, which
trips a VM_BUG_ON in NFS. This trivial patch seems to fix it to me,
but I haven't really figured out what Fixes tag this should get.

Also cifs has the same VM_BUG_ON and will also need a similar fix, but
I'll leave it to people with a working test setup.