Please enable JavaScript.
Coggle requires JavaScript to display documents.
io_uring cancel_all - Coggle Diagram
io_uring cancel_all
true
exec
task cancel
why exec needs cancel_all?
done in process level
cancel all requests in this tctx
more reasonable to name it as global
t/io_uring -d 8192 -n 4 /dev/nullb0
INT signal handling in t/io_uring
cleanup for handling INT
wait until inflight IOs are done
io_wq live lock
solved by another patch
POLLED request without NOWAIT
false
do_exit()
files are live
IO files & io_uring FD
any req with reference to current->files have to be drained
task work pending
do_group_exit()
"files cancel"
file of uring_fd
track requests of regular files
background
io_uring_ctx
can be used in more than one tasks
io_uring_task(tctx)
manages io_wq
covers multiple io_uring_ctx used in this task
covers sqpoll