Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 1052b8ac authored by Jens Axboe's avatar Jens Axboe
Browse files

blk-mq: when polling for IO, look for any completion


If we want to support async IO polling, then we have to allow finding
completions that aren't just for the one we are looking for. Always pass
in -1 to the mq_ops->poll() helper, and have that return how many events
were found in this poll loop.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 1db4909e
Branches
Tags
No related merge requests found
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