http://bugzilla.novell.com/show_bug.cgi?id=616617 http://bugzilla.novell.com/show_bug.cgi?id=616617#c1 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeffm@novell.com --- Comment #1 from Jeff Mahoney <jeffm@novell.com> 2010-06-24 20:59:05 UTC --- This is a known limitation of btrfs. The issue is that the swapfile implementation assumes that it can take a file without holes in it and build an extent map of how the file maps to disk blocks and write to those blocks directly. Since btrfs is CoW, the file extents can be remapped by the file system arbitrarily. If swapfile is allowed to map those blocks and then the file is remapped - then the swap subsystem will happily corrupt your btrfs file system. At some point, it may be possible to stop that behavior but it isn't currently. A workaround is to map your swapfile via a loopback device and use that instead. There will be a performance hit but then you're already using swap. :) That the limitation and the workaround isn't well documented is a bug, though. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.