From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35206 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuPBh-0004br-S1 for qemu-devel@nongnu.org; Tue, 01 Mar 2011 08:00:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuP0d-0002bG-DR for qemu-devel@nongnu.org; Tue, 01 Mar 2011 07:49:21 -0500 Received: from mtagate3.uk.ibm.com ([194.196.100.163]:50376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuP0d-0002WH-0H for qemu-devel@nongnu.org; Tue, 01 Mar 2011 07:48:59 -0500 Received: from d06nrmr1307.portsmouth.uk.ibm.com (d06nrmr1307.portsmouth.uk.ibm.com [9.149.38.129]) by mtagate3.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p21CmpCm021870 for ; Tue, 1 Mar 2011 12:48:51 GMT Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1307.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p21Cn24Z1880168 for ; Tue, 1 Mar 2011 12:49:02 GMT Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p21CmogR001999 for ; Tue, 1 Mar 2011 05:48:51 -0700 Date: Tue, 1 Mar 2011 12:48:34 +0000 From: Stefan Hajnoczi Subject: Re: [Qemu-devel] [RFC][PATCH 0/2] Allow cache settings for block devices to be changed at runtime. Message-ID: <20110301124834.GA10953@stefanha-thinkpad.localdomain> References: <20110228171956.05a84fb9@zephyr> <4D6BBB72.6040205@redhat.com> <20110301124254.GA29485@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110301124254.GA29485@lst.de> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoph Hellwig Cc: Kevin Wolf , Anthony Liguori , Stefan Hajnoczi , qemu-devel , Ananth Narayan , Prerna Saxena On Tue, Mar 01, 2011 at 01:42:54PM +0100, Christoph Hellwig wrote: > I have patches to do that, and to allow changing O_DIRECT via a monitor > command, but to toggle O_SYNC via fcntl I first need to get a kernel > patch in as that's currently not allowed to be changed at runtime. Great it sounds like you have already implemented the two cases (guest wce and host O_DIRECT) that we're talking about. Stefan