Commit 01534fe901b16302e7abb9f279dece6853bbca08
1 parent
0c64b9cd
restore original values for ai.aio_threads and ai.aio_num
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3896 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
block-raw-posix.c
@@ -276,8 +276,8 @@ void qemu_aio_init(void) | @@ -276,8 +276,8 @@ void qemu_aio_init(void) | ||
276 | seems to fix the problem. */ | 276 | seems to fix the problem. */ |
277 | struct aioinit ai; | 277 | struct aioinit ai; |
278 | memset(&ai, 0, sizeof(ai)); | 278 | memset(&ai, 0, sizeof(ai)); |
279 | - ai.aio_threads = 16; | ||
280 | - ai.aio_num = 16; | 279 | + ai.aio_threads = 1; |
280 | + ai.aio_num = 1; | ||
281 | ai.aio_idle_time = 365 * 100000; | 281 | ai.aio_idle_time = 365 * 100000; |
282 | aio_init(&ai); | 282 | aio_init(&ai); |
283 | } | 283 | } |