mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
io-wq: make io_wqe_cancel_work() take a match handler
We want to use the cancel functionality for canceling based on not just the work itself. Instead of matching on the work address manually, allow a match handler to tell us if we found the right work item or not. No functional changes in this patch. Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
0bdbdd08a8
commit
00bcda13dc
1 changed files with 22 additions and 11 deletions
33
fs/io-wq.c
33
fs/io-wq.c
Loading…
Add table
Add a link
Reference in a new issue