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

io-wq: perform both unstarted and started work cancelations in one go



Rather than split these into two separate lookups and matches, combine
them into one loop. This will become important when we can guarantee
that we don't have a window where a pending work item isn't discoverable
in either state.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 36e4c58b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment