]> git.proxmox.com Git - qemu-server.git/commit
use aio=native only with O_DIRECT (cache=none|directsync)
authorAlexandre Derumier <aderumier@odiso.com>
Thu, 2 Apr 2015 06:11:25 +0000 (08:11 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 4 Apr 2015 07:57:53 +0000 (09:57 +0200)
commit3f548708d35a370a577341f2192dc854d082adc7
tree4f7dafae4a725b55b74ddc517e8406bfa2ff8be6
parent8bcf3068eb2d1da79231e6684800b958e7e3dcd7
use aio=native only with O_DIRECT (cache=none|directsync)

Currently qemu auto fallback to aio=threads if cache=none|directsync
It's better to handle that correctly

see:
https://bugzilla.redhat.com/show_bug.cgi?id=1086704

http://wiki.qemu.org/ChangeLog/2.3
Future incompatible changes:
Block device parameter aio=native has no effect without cache.direct=on. It will be made an error.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/QemuServer.pm