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 via email to