commit | 00bcda13dcbf6bf7fa6f2a5886dd555362de8cfa | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Sat Feb 08 19:13:32 2020 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Feb 09 09:55:37 2020 -0700 |
tree | a99fcebbf7eb87b9b6f8ebf684ecc352d3431ad1 | |
parent | 0bdbdd08a8f991bdaee54465a168c0795ea5d28b [diff] |
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>