diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-11-26 08:21:49 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-26 08:25:40 -0700 |
commit | 1052b8ac5282daf35df331edcbdb645839d17e6a (patch) | |
tree | 416e6bcaea468503613abeaf1e9705fea5aa94f9 /certs | |
parent | 1db4909e76f64a85f4aaa187f0f683f5c85a471d (diff) | |
download | linux-1052b8ac5282daf35df331edcbdb645839d17e6a.tar.bz2 |
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>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions