
On Sat, 13 Jul 2013 01:43:02 AM Russell Coker wrote:
cp has the --reflink option, mv could use the same mechanism if it was supported across subvols. I believe that there is work on supporting reflink across subvols in BTRFS and there's no technical reason why ZFS couldn't do it too.
Cross-subvol reflinks were merged for the 3.6 kernel. http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=36... You can't reflink across mount points though, it was mentioned by Christoph Hellwig back in 2011 when he first NAK'd the cross-subvol patches http://www.spinics.net/lists/linux-btrfs/msg09229.html . cheers, Chris -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC This email may come with a PGP signature as a file. Do not panic. For more info see: http://en.wikipedia.org/wiki/OpenPGP