Re: Resizing io_uring SQ/CQ?

Stefan Hajnoczi
2023-03-10T16:59:30Z

[-- Attachment #1: Type: text/plain, Size: 467 bytes --]

On Fri, Mar 10, 2023 at 11:14:04PM +0800, Ming Lei wrote:

Hi Ming,
Another question about this:

Does the io worker thread pool have limits so that eventually work
queues up and new work is not able to execute until in-flight work
completes?

In that case, even if io_uring_enter(2) accepts requests without
returning EBUSY/EAGAIN, it seems like there is still a deadlock scenario
when work that is executing depends on later work that is unable to
execute.

Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]