Re: [PATCH 6/6] nfs: Enable swap over NFS

Peter Zijlstra
2006-08-26T17:35:58Z

On Sat, 2006-08-26 at 14:36 +0000, Pavel Machek wrote:
> Hi!
>
> > Now that NFS can handle swap cache pages, add a swapfile method to allow
> > swapping over NFS.
> >
> > NOTE: this dummy method is obviously not enough to make it safe.
> > A more complete version of the nfs_swapfile() function will be present
> > in the next VM deadlock avoidance patches.
> >
> > Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
>
> We probably do not want to enable functionality before it is safe...

:-), probably not no, but some ppl might want to live on the edge.

> Also swsusp interactions will be interesting. (Rafael is working on
> swapfile support these days).

Yes, I've considered this, and this was one of the motivators to keep
the functionality under its own config option, so that it might be
mutually exclusive with swsusp to swapfile.