It was supposed to wait for events to be ready. In reality what ended up
happening is that people don't actually like to use io_queue_run/wait and
the function callbacks as Linus originally suggested in the event model,
and instead they prefer to use io_getevents directly. libaio just hasn't
been updated to reflect that yet.
> then about the 2.5 API we have such min_nr that allows the "at least
> min_nr", instead of the previous default of "at least 1", so that it
> allows implementing the aio_nwait of aix.
It was also required to break source compilation for the timeout update.
> BTW, the libaio I'm adapting to test on my tree will not have the
> libredhat thing anymore, and it will use the mainline 2.5 API since the
> API is registered now and in the very worst case a non backwards
> compatible API change would happen in late 2.5, replacing libaio.so is
> not more complex than replacing libredhat.so anyways ;).
That was already the intent for libaio-0.4.0.
-ben
-- "You will be reincarnated as a toad; and you will be much happier." - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/