[05/40] xen-disk: disable aio

Submitted by Alexander Graf on Nov. 1, 2010, 3:01 p.m.

Details

Message ID 1288623713-28062-6-git-send-email-agraf@suse.de
State New
Headers show

Commit Message

Alexander Graf Nov. 1, 2010, 3:01 p.m.
Using AIO with the xen backend breaks for me. Disabling it makes things work.
So until we figure out what exactly is going wrong, let's disable it.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 hw/xen_disk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/hw/xen_disk.c b/hw/xen_disk.c
index 134ac33..06752de 100644
--- a/hw/xen_disk.c
+++ b/hw/xen_disk.c
@@ -49,7 +49,7 @@  static int syncwrite    = 0;
 static int batch_maps   = 0;
 
 static int max_requests = 32;
-static int use_aio      = 1;
+static int use_aio      = 0;
 
 /* ------------------------------------------------------------- */