From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUDGa-0003jB-IN for qemu-devel@nongnu.org; Fri, 12 Feb 2016 07:56:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUDGW-0007Dk-HQ for qemu-devel@nongnu.org; Fri, 12 Feb 2016 07:56:08 -0500 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:37328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUDGW-0007DU-6i for qemu-devel@nongnu.org; Fri, 12 Feb 2016 07:56:04 -0500 Received: by mail-wm0-x22a.google.com with SMTP id g62so18400084wme.0 for ; Fri, 12 Feb 2016 04:56:04 -0800 (PST) Sender: Paolo Bonzini References: <20160212102537.GA5585@stefanha-x1.localdomain> From: Paolo Bonzini Message-ID: <56BDD661.4000104@redhat.com> Date: Fri, 12 Feb 2016 13:56:01 +0100 MIME-Version: 1.0 In-Reply-To: <20160212102537.GA5585@stefanha-x1.localdomain> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] cache.direct List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , Jignasha Vithalani Cc: "qemu-devel@nongnu.org" On 12/02/2016 11:25, Stefan Hajnoczi wrote: > On Thu, Feb 11, 2016 at 03:11:55PM +0000, Jignasha Vithalani wrote: >> > How to set cache.direct = on if using aio=native with qemu 2.3 >> > while mounting with nbd > The NBD block driver does not honor -drive cache=on|off. It does not > have a client-side cache. It also does not honor aio=native, which you can likewise set in qemu-nbd. Paolo > Instead you must set the cache mode on the NBD server side with qemu-nbd > --nocache.