Re: [Qemu-devel] [PATCH] qemu-img: Add cache command line option

2011-06-20 Thread Kevin Wolf
Am 16.06.2011 16:43, schrieb Kevin Wolf: Am 16.06.2011 16:28, schrieb Christoph Hellwig: On Wed, Jun 15, 2011 at 09:46:10AM -0400, Federico Simoncelli wrote: qemu-img currently writes disk images using writeback and filling up the cache buffers which are then flushed by the kernel preventing

Re: [Qemu-devel] [PATCH] qemu-img: Add cache command line option

2011-06-16 Thread Christoph Hellwig
On Wed, Jun 15, 2011 at 09:46:10AM -0400, Federico Simoncelli wrote: qemu-img currently writes disk images using writeback and filling up the cache buffers which are then flushed by the kernel preventing other processes from accessing the storage. This is particularly bad in cluster

Re: [Qemu-devel] [PATCH] qemu-img: Add cache command line option

2011-06-16 Thread Kevin Wolf
Am 16.06.2011 16:28, schrieb Christoph Hellwig: On Wed, Jun 15, 2011 at 09:46:10AM -0400, Federico Simoncelli wrote: qemu-img currently writes disk images using writeback and filling up the cache buffers which are then flushed by the kernel preventing other processes from accessing the

Re: [Qemu-devel] [PATCH] qemu-img: Add cache command line option

2011-06-16 Thread Federico Simoncelli
- Original Message - From: Christoph Hellwig h...@lst.de To: Federico Simoncelli fsimo...@redhat.com Cc: k...@vger.kernel.org, kw...@redhat.com, qemu-devel@nongnu.org, a...@redhat.com Sent: Thursday, June 16, 2011 4:28:09 PM Subject: Re: [Qemu-devel] [PATCH] qemu-img: Add cache

[Qemu-devel] [PATCH] qemu-img: Add cache command line option

2011-06-15 Thread Federico Simoncelli
qemu-img currently writes disk images using writeback and filling up the cache buffers which are then flushed by the kernel preventing other processes from accessing the storage. This is particularly bad in cluster environments where time-based algorithms might be in place and accessing the