On Fri, 29 Apr 2022 10:43:34 +1000 NeilBrown <neilb@xxxxxxx> wrote: > The nfs_direct_IO() exists to support SWAP IO, but hasn't worked for a > while. We now need a ->swap_rw function which behaves slightly > differently, returning zero for success rather than a byte count. > > So modify nfs_direct_IO accordingly, rename it, and use it as the > ->swap_rw function. > This one I insertion sorted into the series after mm-introduce-swap_rw-and-use-it-for-reads-from-swp_fs_ops-swap-space.patch. I can later fold this patch into that one of you think that's a better presentation?