aio: allow direct aio poll comletions for keyed wakeups
If we get a keyed wakeup for a aio poll waitqueue and wake can acquire the ctx_lock without spinning we can just complete the iocb straight from the wakeup callback to avoid a context switch. Signed-off-by:Christoph Hellwig <hch@lst.de> Tested-by:
Avi Kivity <avi@scylladb.com>
Showing