Please enable JavaScript.
Coggle requires JavaScript to display documents.
ublk IO vs. task exiting - Coggle Diagram
ublk IO vs. task exiting
facts
io request hanlding
run handling into iou_cmd task
complete cmd in iou_cmd task
notify userspace
iou_cmd task could be run in fallback wq
iou_cmd task could be EXITING
io cmd canceling
cancel iou_cmd
use cancel_lock with per-io canceled flag
from io_uring_try_cancel_uring_cmd
only cancel req submitted from this task
tw fallback
PF_EXITING
schedule quiesce work
quiesce work
blk_mq_quiesce_queue
drain inflight requests
mark UBLK_S_DEV_QUIESCED
cancel all active commands
questions
new iou_cmd can be queued after it is canceled?
problem
io_put_task_remote() warns
called from fallback wq