aio-posix: Don't count ctx->notifier as progress when polling
commit70232b5253a3c4e03ed1ac47ef9246a8ac66c6fa
authorFam Zheng <famz@redhat.com>
Thu, 9 Aug 2018 13:22:58 +0000 (9 21:22 +0800)
committerFam Zheng <famz@redhat.com>
Wed, 15 Aug 2018 02:12:35 +0000 (15 10:12 +0800)
treed2266f8026f4fe129c8938a25f33ac40287dd84c
parent2f0d8947a664c77624fd3e22ce9449685b0ed808
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>
util/aio-posix.c