Please enable JavaScript.
Coggle requires JavaScript to display documents.
ubd io vs. remove - Coggle Diagram
ubd io vs. remove
issues
q->q_usage_counter leak
observation
MQ
rqs in ->hctx->busy
disk is gone
hang in io_rsrc_ref_quiesce()
ubq_daemon can't be exited, meantime no pending requests in /dev/ubdbN
how to investigate
knowledge
when is current->exit_code set?
task_work can be run in do_exit()
abort design
facts
abort is tried to run task_work
run in task work
serialized with other io task work
run in abort context directly
race with other io task work
lock is required
task is dead
task work can be run in do_exit
so abort_work can be run in task_work after task is dead
io request is submited via task_work for notifying ubd server