commit | 1052b8ac5282daf35df331edcbdb645839d17e6a | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Mon Nov 26 08:21:49 2018 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Nov 26 08:25:40 2018 -0700 |
tree | 416e6bcaea468503613abeaf1e9705fea5aa94f9 | |
parent | 1db4909e76f64a85f4aaa187f0f683f5c85a471d [diff] |
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: Jens Axboe <axboe@kernel.dk>