On Wed, Oct 22, 2014 at 01:39:58PM -0700, Robert White wrote: > On 10/22/2014 01:25 PM, Hugo Mills wrote: > > The new code is the swap-on-NFS infrastructure, which indirects > >swapfile accesses through the filesystem code. The reason you have to > >do that with NFS is because NFS doesn't expose a block device at all, > >so you can't get a list of blocks on an underlying device because > >there isn't one. Indirecting the accesses through the filesystem, > >however, allows us to side-step btrfs's problems with part (b) above, > >and in theory gives us swapfile capability. > > I was not even aware there was "new code" on the matter. > > Is there a guide or whatever to doing this? I didn't see any mention > of it in the places Google led me.
swap-on-NFS is still, I think, in a set of out of tree patches, and it's not gone anywhere near btrfs yet. It's just that once it does land in mainline, it would form the appropriate infrastructure to develop swapfile capability for btrfs. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Great oxymorons of the world, no. 7: The Simple Truth ---
signature.asc
Description: Digital signature