Patchwork [05/40] xen-disk: disable aio

login
register
mail settings
Submitter Alexander Graf
Date Nov. 1, 2010, 3:01 p.m.
Message ID <1288623713-28062-6-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/69778/
State New
Headers show

Comments

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

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;
 
 /* ------------------------------------------------------------- */