* [Qemu-devel] cache.direct
@ 2016-02-11 15:11 Jignasha Vithalani
2016-02-12 10:25 ` Stefan Hajnoczi
0 siblings, 1 reply; 3+ messages in thread
From: Jignasha Vithalani @ 2016-02-11 15:11 UTC (permalink / raw)
To: qemu-devel@nongnu.org
[-- Attachment #1: Type: text/plain, Size: 89 bytes --]
How to set cache.direct = on if using aio=native with qemu 2.3
while mounting with nbd
[-- Attachment #2: Type: text/html, Size: 483 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] cache.direct
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
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2016-02-12 10:25 UTC (permalink / raw)
To: Jignasha Vithalani; +Cc: qemu-devel@nongnu.org
[-- Attachment #1: Type: text/plain, Size: 349 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] cache.direct
2016-02-12 10:25 ` Stefan Hajnoczi
@ 2016-02-12 12:56 ` Paolo Bonzini
0 siblings, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2016-02-12 12:56 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-12 12:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).