qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Stefan Hajnoczi <stefanha@gmail.com>,
	Jignasha Vithalani <jignasha.vithalani@triliodata.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] cache.direct
Date: Fri, 12 Feb 2016 13:56:01 +0100	[thread overview]
Message-ID: <56BDD661.4000104@redhat.com> (raw)
In-Reply-To: <20160212102537.GA5585@stefanha-x1.localdomain>



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.

      reply	other threads:[~2016-02-12 12:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-11 15:11 [Qemu-devel] cache.direct Jignasha Vithalani
2016-02-12 10:25 ` Stefan Hajnoczi
2016-02-12 12:56   ` Paolo Bonzini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56BDD661.4000104@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=jignasha.vithalani@triliodata.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).