[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] cache.direct
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] cache.direct |
Date: |
Fri, 12 Feb 2016 13:56:01 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
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.