]> git.proxmox.com Git - mirror_qemu.git/commit - block/raw-posix.c
raw-posix: Deprecate aio=threads fallback without O_DIRECT
authorKevin Wolf <kwolf@redhat.com>
Tue, 17 Mar 2015 12:45:21 +0000 (13:45 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 19 Mar 2015 11:30:56 +0000 (12:30 +0100)
commit965182549cee6fa337f0e72cde4d5787f35f33ac
treeacb087cfe0caf76ccf06d6cd391b18afe653d572
parent92a539d22e0da14d5395eb2c2c8bee162ebdb0b8
raw-posix: Deprecate aio=threads fallback without O_DIRECT

Currently, if the user requests aio=native, but forgets to choose a
cache mode that sets O_DIRECT, that request is silently ignored and raw
falls back to aio=threads.

Deprecate that behaviour so we can make it an error in future qemu
versions.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
block/raw-posix.c