Re: btrfs and swap files on SSD's ?

2009-01-20 Thread Kaspar Schleiser
Hey Cris, Chris Mason wrote: This doesn't quite play nicely with btrfs and should lead to all kinds of problemsI'm looking into how to disable swapfiles completely. Please try to support swapfiles. I know their drawbacks and still use them quite often. Cheers Kaspar -- To unsubscribe

Re: btrfs and swap files on SSD's ?

2009-01-20 Thread Dmitri Nikulin
On Wed, Jan 21, 2009 at 12:02 AM, Chris Mason chris.ma...@oracle.com wrote: There are patches to support swap over NFS that might make it safe to use on btrfs. At any rate, it is a fixable problem. FreeBSD has been able to run swap over NFS for as long as I can remember, what is different in

Re: btrfs and swap files on SSD's ?

2009-01-20 Thread Anthony Roberts
The second is an implementation detail of the linux swap file code. It expects filesystems don't move blocks around, and takes a mapping of the blocks in the FS once. This doesn't work with btrfs because we do move blocks around all the time. That's interesting. I have a few questions:

Re: btrfs and swap files on SSD's ?

2009-01-20 Thread Andi Kleen
Dmitri Nikulin dniku...@gmail.com writes: On Wed, Jan 21, 2009 at 12:02 AM, Chris Mason chris.ma...@oracle.com wrote: There are patches to support swap over NFS that might make it safe to use on btrfs. At any rate, it is a fixable problem. FreeBSD has been able to run swap over NFS for as