aboutsummaryrefslogtreecommitdiff
path: root/docs/sphinx/qapidoc.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2025-03-11 15:19:12 +0100
committerKevin Wolf <kwolf@redhat.com>2025-03-13 17:57:23 +0100
commitf76d3bee754a2f8d73373d5959dc983169a93eee (patch)
tree60b9cdc2ec845c74f7cda6d219097bdecd3d8d7a /docs/sphinx/qapidoc.py
parentee416407b3c0f45253779e98404acb41231a9279 (diff)
downloadqemu-f76d3bee754a2f8d73373d5959dc983169a93eee.zip
qemu-f76d3bee754a2f8d73373d5959dc983169a93eee.tar.gz
qemu-f76d3bee754a2f8d73373d5959dc983169a93eee.tar.bz2
aio-posix: Adjust polling time also for new handlers
aio_dispatch_handler() adds handlers to ctx->poll_aio_handlers if polling should be enabled. If we call adjust_polling_time() for all polling handlers before this, new polling handlers are still left at poll->ns = 0 and polling is only actually enabled after the next event. Move the adjust_polling_time() call after aio_dispatch_handler(). This fixes test-nested-aio-poll, which expects that polling becomes effective the first time around. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20250311141912.135657-1-kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'docs/sphinx/qapidoc.py')
0 files changed, 0 insertions, 0 deletions