All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] aio-posix: polling mode bug fixes
@ 2018-09-12 17:10 Paolo Bonzini
  2018-09-12 17:10 ` [Qemu-devel] [PATCH 1/3] aio-posix: fix concurrent access to poll_disable_cnt Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Paolo Bonzini @ 2018-09-12 17:10 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-block, famz, kwolf, stefanha

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(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-09-13  8:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-12 17:10 [Qemu-devel] [PATCH 0/3] aio-posix: polling mode bug fixes Paolo Bonzini
2018-09-12 17:10 ` [Qemu-devel] [PATCH 1/3] aio-posix: fix concurrent access to poll_disable_cnt Paolo Bonzini
2018-09-13  6:56   ` Fam Zheng
2018-09-13  8:29     ` [Qemu-devel] [Qemu-block] " Paolo Bonzini
2018-09-13  8:34       ` Fam Zheng
2018-09-12 17:10 ` [Qemu-devel] [PATCH 2/3] aio-posix: compute timeout before polling Paolo Bonzini
2018-09-13  7:16   ` Fam Zheng
2018-09-12 17:10 ` [Qemu-devel] [PATCH 3/3] aio-posix: do skip system call if ctx->notifier polling succeeds Paolo Bonzini
2018-09-13  7:19   ` Fam Zheng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.