3 ms·
> Under Linux, all I/O is synchronous but possibly nonblocking, and all disk I/O is blocking This is no longer true with io_uring.
by jen20 7y ago
> Under Linux, all I/O is synchronous but possibly nonblocking, and all disk I/O is blocking
This is no longer true with io_uring.
- wtallis 7y agoIt wasn't entirely true even before io_uring. The previous Linux AIO API has too many caveats and pitfalls, but there were narrow use cases where it could do genuine non-blocking asynchronous disk IO.
- jen20 7y agoYup - assuming you had filesystem support anyway. Seastar has a useful tool named “fsqual” for determining whether a given filesystem is capable of using kernel async IO in a non-blocking fashion.