aio: try to complete poll iocbs without context switch
If we can acquire ctx_lock without spinning we can just remove our
iocb from the active_reqs list, and thus complete the iocbs from the
wakeup context.
Signed-off-by:
Christoph Hellwig <hch@lst.de>
parent
2c14fa83
Please register or sign in to comment