commit | 200cb82311bb79b18994b2bfbad6b090eee7f0d0 | [log] [tgz] |
---|---|---|
author | Jean-Philippe Brucker <jean-philippe.brucker@arm.com> | Thu Apr 04 14:20:47 2019 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Fri Apr 26 14:57:59 2019 +0100 |
tree | 40a45a87b513be79e0e5f0e28ba73ce73578c603 | |
parent | d62e8ee002eb1ef50d0ca9dfa4f0c04782e53879 [diff] |
disk/aio: Fix AIO thread Currently when the kernel completes a batch of AIO requests and signals it via eventfd, we retrieve at most AIO_MAX events (256), and ignore the rest. Call io_getevents() again in case more events are pending. Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>