]> git.ipfire.org Git - thirdparty/qemu.git/commit
aio-posix: Don't count ctx->notifier as progress when polling
authorFam Zheng <famz@redhat.com>
Thu, 9 Aug 2018 13:22:58 +0000 (21:22 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 19 Mar 2019 02:40:26 +0000 (21:40 -0500)
commit98f6f212614636792699bd010e6c4ea379f0f2e4
tree9c158e692639cf0f69f10ab359031378d4e06338
parentac141891ee1e734024a877767b4fd938d1874cd1
aio-posix: Don't count ctx->notifier as progress when polling

The same logic exists in fd polling. This change is especially important
to avoid busy loop once we limit aio_notify_accept() to blocking
aio_poll().

Cc: qemu-stable@nongnu.org
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20180809132259.18402-2-famz@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
(cherry picked from commit 70232b5253a3c4e03ed1ac47ef9246a8ac66c6fa)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
util/aio-posix.c