Re: [Qemu-devel] [PATCH V3] qemu-img create: add 'nocow' option

2014-07-01 Thread Eric Blake
On 06/23/2014 03:17 AM, Chunyan Liu wrote: Add 'nocow' option so that users could have a chance to set NOCOW flag to newly created files. It's useful on btrfs file system to enhance performance. Btrfs has low performance when hosting VM images, even more when the guest in those VM are also

Re: [Qemu-devel] [PATCH V3] qemu-img create: add 'nocow' option

2014-07-01 Thread Chun Yan Liu
On 7/2/2014 at 05:02 AM, in message 53b321cc.7070...@redhat.com, Eric Blake ebl...@redhat.com wrote: On 06/23/2014 03:17 AM, Chunyan Liu wrote: Add 'nocow' option so that users could have a chance to set NOCOW flag to newly created files. It's useful on btrfs file system to enhance

Re: [Qemu-devel] [PATCH V3] qemu-img create: add 'nocow' option

2014-06-29 Thread Chun Yan Liu
On 6/27/2014 at 07:48 PM, in message 20140627114806.gm12...@stefanha-thinkpad.muc.redhat.com, Stefan Hajnoczi stefa...@redhat.com wrote: On Mon, Jun 23, 2014 at 05:17:02PM +0800, Chunyan Liu wrote: Add 'nocow' option so that users could have a chance to set NOCOW flag to newly created

Re: [Qemu-devel] [PATCH V3] qemu-img create: add 'nocow' option

2014-06-27 Thread Stefan Hajnoczi
On Mon, Jun 23, 2014 at 05:17:02PM +0800, Chunyan Liu wrote: Add 'nocow' option so that users could have a chance to set NOCOW flag to newly created files. It's useful on btrfs file system to enhance performance. Btrfs has low performance when hosting VM images, even more when the guest in

Re: [Qemu-devel] [PATCH V3] qemu-img create: add 'nocow' option

2014-06-26 Thread Chun Yan Liu
Hi, Stefan Kevin, Could you help to have a look at this version? We've discussed about this last November and now switch it to QemuOpts. Thanks, Chunyan On 6/23/2014 at 05:17 PM, in message 1403515022-24802-1-git-send-email-cy...@suse.com, Chunyan Liu cy...@suse.com wrote: Add 'nocow'

[Qemu-devel] [PATCH V3] qemu-img create: add 'nocow' option

2014-06-23 Thread Chunyan Liu
Add 'nocow' option so that users could have a chance to set NOCOW flag to newly created files. It's useful on btrfs file system to enhance performance. Btrfs has low performance when hosting VM images, even more when the guest in those VM are also using btrfs as file system. One way to mitigate