Received: from eggs.gnu.org ([2001:4830:134:3::10]:42091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkc6y-0000ZG-9r for qemu-devel@nongnu.org; Thu, 15 Sep 2016 15:14:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkc6u-0005av-50 for qemu-devel@nongnu.org; Thu, 15 Sep 2016 15:14:15 -0400 References: <1473945592-12809-1-git-send-email-den@openvz.org> <20160915160907.GO4726@noname.redhat.com> From: "Denis V. Lunev" Message-ID: <9b3db510-b378-24fc-d4da-e6f7a734addc@openvz.org> Date: Thu, 15 Sep 2016 19:39:00 +0300 MIME-Version: 1.0 In-Reply-To: <20160915160907.GO4726@noname.redhat.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/1] block: add cache mode with direct IO and without flushes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org, Max Reitz On 09/15/2016 07:09 PM, Kevin Wolf wrote: > Am 15.09.2016 um 15:19 hat Denis V. Lunev geschrieben: >> This mode could be very useful for flush bottlenecks evaluation and for >> running non-persistent VMs, when host crash is considered not fatal. >> >> Signed-off-by: Denis V. Lunev >> CC: Kevin Wolf >> CC: Max Reitz > Why not just specify the individual options? > > -drive file=...,cache.direct=on,cache.no-flush=on > > Kevin then we need to have three options: cache.direct=on/off cache.flush=on/off (default on) cache.writethrough=on/off What will have preference, old style option, new style option, rightmost option? Den