Skip to content
Commit 00bcda13 authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJens Axboe <axboe@kernel.dk>
parent 0bdbdd08
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment