qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] linux-aio: fix submit aio as a batch


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] linux-aio: fix submit aio as a batch
Date: Tue, 08 Jul 2014 19:41:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Il 08/07/2014 17:45, Ming Lei ha scritto:

-    /* empty io queue */
-    s->io_q.idx = 0;
+    ret = io_submit(s->ctx, len, s->io_q.iocbs);
+    if (ret == -EAGAIN) {
+        event_notifier_set(&s->retry);
+        return 0;

You can use a bottom half instead of this event notifier.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]