On Wed, 2007-10-31 at 08:50 +0000, Christoph Hellwig wrote: > On Tue, Oct 30, 2007 at 09:37:53PM -0700, David Miller wrote: > > Don't be misled. Swapping over NFS is just a scarecrow for the > > seemingly real impetus behind these changes which is network storage > > stuff like iSCSI. > > So can we please do swap over network storage only first? All these > VM bits look conceptually sane to me, while the changes to the swap > code to support nfs are real crackpipe material. Yeah, I know how you stand on that. I just wanted to post all this before going off into the woods reworking it all. > Then again doing > that part properly by adding address_space methods for swap I/O without > the abuse might be a really good idea, especially as the way we > do swapfiles on block-based filesystems is an horrible hack already. Is planned. What do you think of the proposed a_ops extension to accomplish this? That is, ->swapfile() - is this address space willing to back swap ->swapout() - write out a page ->swapin() - read in a page > So please get the VM bits for swap over network blockdevices in first, Trouble with that part is that we don't have any sane network block devices atm, NBD is utter crap, and iSCSI is too complex to be called sane. Maybe Evgeniy's Distributed storage thingy would work, will have a look at that. > and then we can look into a complete revamp of the swapfile support > that cleans up the current mess and adds support for nfs insted of > making the mess even worse. Sure, concrete suggestion are always welcome. Just being told something is utter crap only goes so far.
Attachment:
signature.asc
Description: This is a digitally signed message part
- Follow-Ups:
- Re: [PATCH 00/33] Swap over NFS -v14
- From: "Mike Snitzer" <[email protected]>
- NBD was Re: [PATCH 00/33] Swap over NFS -v14
- From: Pavel Machek <[email protected]>
- Re: [PATCH 00/33] Swap over NFS -v14
- References:
- [PATCH 00/33] Swap over NFS -v14
- From: Peter Zijlstra <[email protected]>
- Re: [PATCH 00/33] Swap over NFS -v14
- From: Nick Piggin <[email protected]>
- Re: [PATCH 00/33] Swap over NFS -v14
- From: David Miller <[email protected]>
- Re: [PATCH 00/33] Swap over NFS -v14
- From: Christoph Hellwig <[email protected]>
- [PATCH 00/33] Swap over NFS -v14
- Prev by Date: Re: [PATCH 1/16] CRIS architecture: Correct compile errors
- Next by Date: Re: [PATCH] dump_stack on panic
- Previous by thread: Re: [PATCH 00/33] Swap over NFS -v14
- Next by thread: NBD was Re: [PATCH 00/33] Swap over NFS -v14
- Index(es):