From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35445 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODxn4-0000Hv-GY for qemu-devel@nongnu.org; Mon, 17 May 2010 06:43:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ODxn2-0001KH-Se for qemu-devel@nongnu.org; Mon, 17 May 2010 06:43:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31522) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ODxn2-0001K9-LT for qemu-devel@nongnu.org; Mon, 17 May 2010 06:43:16 -0400 Message-ID: <4BF11DAA.4080400@redhat.com> Date: Mon, 17 May 2010 12:42:50 +0200 From: Kevin Wolf MIME-Version: 1.0 References: <1274091292-4812-1-git-send-email-agraf@suse.de> In-Reply-To: <1274091292-4812-1-git-send-email-agraf@suse.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] Add cache=volatile parameter to -drive List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-devel@nongnu.org, hch@lst.de Am 17.05.2010 12:14, schrieb Alexander Graf: > Usually the guest can tell the host to flush data to disk. In some cases we > don't want to flush though, but try to keep everything in cache. > > So let's add a new cache value to -drive that allows us to set the cache > policy to most aggressive, disabling flushes. We call this mode "volatile", > as guest data is not guaranteed to survive host crashes anymore. > > This patch also adds a noop function for aio, so we can do nothing in AIO > fashion. > > Signed-off-by: Alexander Graf Thanks, looks good to me now. Applied it to the block branch, but depending on Anthony's opinion I might drop it again. Kevin