From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Wolf Subject: Re: [PATCHv4] qemu-img: Add cache command line option Date: Wed, 29 Jun 2011 11:48:32 +0200 Message-ID: <4E0AF4F0.7050609@redhat.com> References: <4DFF5D8B.80600@redhat.com> <1308588499-6562-1-git-send-email-fsimonce@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, hch@lst.de, kvm@vger.kernel.org, avi@redhat.com To: Federico Simoncelli Return-path: Received: from mx1.redhat.com ([209.132.183.28]:36773 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753603Ab1F2Jpo (ORCPT ); Wed, 29 Jun 2011 05:45:44 -0400 In-Reply-To: <1308588499-6562-1-git-send-email-fsimonce@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Am 20.06.2011 18:48, schrieb 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 storage within > certain timeouts is critical. > This patch adds the option to choose a cache method when writing > disk images. > > Signed-off-by: Federico Simoncelli Thanks, applied to the block branch. Kevin