[Qemu-devel] [PATCH 01/12] Add aiocb_mutex and aiocb_completion.

2011-01-20 Thread Arun R Bharadwaj
This patch adds the aiocb_mutex to protect aiocb. This patch also removes the infinite loop present in paio_cancel. Since there can only be one cancellation at a time, we need to introduce a condition variable. For this, we need a global aiocb_completion condition variable. This patch also adds

[Qemu-devel] [PATCH 01/12] Add aiocb_mutex and aiocb_completion.

2011-01-13 Thread Arun R Bharadwaj
This patch adds the aiocb_mutex to protect aiocb. This patch also removes the infinite loop present in paio_cancel. Since there can only be one cancellation at a time, we need to introduce a condition variable. For this, we need a global aiocb_completion condition variable. This patch also adds