Skip to content

aio-posix: polling mode bug fixes

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3aio-posix: fix concurrent access to poll_disable_cntutil/aio-posix.c+15 -113 replies
2/3aio-posix: compute timeout before pollingutil/aio-posix.c util/trace-events+36 -271 reply
3/3aio-posix: do skip system call if ctx->notifier polling succeedsutil/aio-posix.c+4 -31 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchFam Zheng
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] aio-posix: polling mode bug fixes

Patch 1 fixes a too-strict assertion that could fire when aio_poll is called in parallel with aio_set_fd_handler.

Patch 2 and 3 reinstate the performance benefits of polling, which were essentially disabled by commit 70232b5253 ("aio-posix: Don't count ctx->notifier as progress when polling", 2018-08-15).

Please review carefully! :)

Thanks,

Paolo

Paolo Bonzini (3):
aio-posix: fix concurrent access to poll_disable_cnt
aio-posix: compute timeout before polling
aio-posix: do skip system call if ctx->notifier polling succeeds

 util/aio-posix.c  | 88 +++++++++++++++++++++++++++--------------------
 util/trace-events |  4 +--
 2 files changed, 53 insertions(+), 39 deletions(-)
Signature · 1 line
2.17.1