Re: [virt-devel] btrfs NOCOW for VM disk images

2013-11-22 Thread David Sterba
On Sat, Nov 23, 2013 at 04:00:28AM +0600, Roman Mamedov wrote: > On Fri, 22 Nov 2013 21:26:16 + (UTC) > Duncan <1i5t5.dun...@cox.net> wrote: > > > > During testing I found that the NOCOW flag prevents file cloning from > > > working. cp --reflink fails with EINVAL when the source file has the

Re: [virt-devel] btrfs NOCOW for VM disk images

2013-11-22 Thread Chris Murphy
On Nov 22, 2013, at 9:17 AM, John Dulaney wrote: > > In upstream QEMU we're discussing patches that set the NOCOW flag on > disk image files. We're told that this increases btrfs performance > greatly since the file system will modify data in-place like ext4/xfs. The best performing qemu/kvm r

Re: [virt-devel] btrfs NOCOW for VM disk images

2013-11-22 Thread Roman Mamedov
On Fri, 22 Nov 2013 21:26:16 + (UTC) Duncan <1i5t5.dun...@cox.net> wrote: > > During testing I found that the NOCOW flag prevents file cloning from > > working. cp --reflink fails with EINVAL when the source file has the > > NOCOW flag set. > > That would be expected, since disabling COW mea

Re: Fwd: [virt-devel] btrfs NOCOW for VM disk images

2013-11-22 Thread Duncan
John Dulaney posted on Fri, 22 Nov 2013 11:17:34 -0500 as excerpted: > In upstream QEMU we're discussing patches that set the NOCOW flag on > disk image files. We're told that this increases btrfs performance > greatly since the file system will modify data in-place like ext4/xfs. Indeed. For V

Fwd: [virt-devel] btrfs NOCOW for VM disk images

2013-11-22 Thread John Dulaney
- Forwarded Message - From: "Stefan Hajnoczi" To: "Eric Sandeen" Cc: virt-de...@redhat.com, "Kevin Wolf" Sent: Friday, November 22, 2013 9:20:51 AM Subject: [virt-devel] btrfs NOCOW for VM disk images Hi, In upstream QEMU we're discussing patches th