Re: [Qemu-devel] [PATCH v2 1/4] linux-aio: fix submit aio as a batch

2014-09-09 Thread Benoît Canet
The Friday 05 Sep 2014 à 00:27:07 (+0800), Ming Lei wrote : > In the enqueue path, we can't complete request, otherwise > "Co-routine re-entered recursively" may be caused, so this > patch fixes the issue with the following ideas: > > - for -EAGAIN or partial completion, retry the submission

[Qemu-devel] [PATCH v2 1/4] linux-aio: fix submit aio as a batch

2014-09-04 Thread Ming Lei
In the enqueue path, we can't complete request, otherwise "Co-routine re-entered recursively" may be caused, so this patch fixes the issue with the following ideas: - for -EAGAIN or partial completion, retry the submission by scheduling a BH in following completion cb - for