2022-04-29 06:03:48

by Andrew Morton

[permalink] [raw]
Subject: Re: [PATCH 2/2] NFS: rename nfs_direct_IO and use as ->swap_rw

On Fri, 29 Apr 2022 10:43:34 +1000 NeilBrown <[email protected]> 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?