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