mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
io-wq: add io_wq_cancel_pid() to cancel based on a specific pid
Add a helper that allows the caller to cancel work based on what mm it belongs to. This allows io_uring to cancel work from a given task or thread when it exits. Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
00bcda13dc
commit
36282881a7
2 changed files with 31 additions and 0 deletions
29
fs/io-wq.c
29
fs/io-wq.c
Loading…
Add table
Add a link
Reference in a new issue