Nik Markovic wrote: > Hi All, > > I have been encountering consistent btrfs filesystem crashes when > using cp –reflink=always on a large file and modifying it. I believe > that the test file needs to be fairly large as I was not able to > reproduce with smaller files. The filesystem size is 45GB and file > size is 10GB. >
It should be fixed in 3.1 by this commit: commit b6f3409b2197e8fcedb43e6600e37b7cfbe0715b Author: Sage Weil <[email protected]> Date: Tue Sep 20 14:48:51 2011 -0400 Btrfs: reserve sufficient space for ioctl clone Fix a crash/BUG_ON in the clone ioctl due to insufficient reservation. We need to reserve space for: - adjusting the old extent (possibly splitting it) - adding the new extent - updating the inode -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
