mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
2c14fa838c
commit
1962da0d21
1 changed files with 17 additions and 3 deletions
20
fs/aio.c
20
fs/aio.c
Loading…
Add table
Add a link
Reference in a new issue