From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUAv4-0007p7-Cl for qemu-devel@nongnu.org; Fri, 12 Feb 2016 05:25:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUAuz-00081u-B5 for qemu-devel@nongnu.org; Fri, 12 Feb 2016 05:25:46 -0500 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:36873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUAuz-00081n-3W for qemu-devel@nongnu.org; Fri, 12 Feb 2016 05:25:41 -0500 Received: by mail-wm0-x22e.google.com with SMTP id g62so13266900wme.0 for ; Fri, 12 Feb 2016 02:25:41 -0800 (PST) Date: Fri, 12 Feb 2016 10:25:37 +0000 From: Stefan Hajnoczi Message-ID: <20160212102537.GA5585@stefanha-x1.localdomain> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] cache.direct List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jignasha Vithalani Cc: "qemu-devel@nongnu.org" --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. Instead you must set the cache mode on the NBD server side with qemu-nbd --nocache. Stefan --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWvbMhAAoJEJykq7OBq3PIImQIAKijt6Yq8ptoRHrFzY2nVNS2 YSU7svkceirwjdEovm524JQYni8EswKjSdWMSHoLcknzvaAFIedpuev1m+5Lo6yb mZZ6FbPYtChtMPhXD8dsBOFnKjLUTaLD5ITANpbf4+uDL8CIFyW40ANfDlC6S28g r09CxALPK/yLdeRcjkWWktr+/vRDSBD7YNYc6ojJFCD7wy3hKPStlT1FTEcofCcW XtXlAYL03fulMeQEnni9H7KIdrNMJIjx++HMaM7GbMwdBZAG+F9kiEQjURdCZmdp ke4tLFZlHCEOqM8X8T8/k772n96uFjG5KEGYiPHH5J0ZKsayykdz9fdjuJaw3CA= =KwB2 -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3--