]> xenbits.xensource.com Git - qemu-xen-3.4-testing.git/commitdiff
restore original values for ai.aio_threads and ai.aio_num
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 6 Jan 2008 18:53:07 +0000 (18:53 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 6 Jan 2008 18:53:07 +0000 (18:53 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3896 c046a42c-6fe2-441c-8c8c-71466251a162

block-raw-posix.c

index b50da1f7bfc95e81626e9ad52c7a76d68b58b698..6b0009e564ea9c61191258c6965e20cb5de3aa80 100644 (file)
@@ -276,8 +276,8 @@ void qemu_aio_init(void)
            seems to fix the problem. */
         struct aioinit ai;
         memset(&ai, 0, sizeof(ai));
-        ai.aio_threads = 16;
-        ai.aio_num = 16;
+        ai.aio_threads = 1;
+        ai.aio_num = 1;
         ai.aio_idle_time = 365 * 100000;
         aio_init(&ai);
     }