commit | 217756d19fda7daa7c615c4c6156d08b51aac12d | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Nov 22 21:43:24 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Nov 22 21:59:44 2019 -0700 |
tree | da29059393f9eafbb7394de5422097fe07ec99c9 | |
parent | 75f55777a00ad7eba790db7aa9a7df69f460fe5b [diff] |
Don't let io_uring_wait_cqes() submit IO It's a wait interface, if we let it it also touch the SQ side of things, then it's not possible to use sanely in a situation where someone has a separate thread for completions. Note that this may require application changes, if they are currently relying on io_uring_wait_cqes() on also submitting IO. The risk should be minimal however, since it is a wait-for-completions interface. Signed-off-by: Jens Axboe <axboe@kernel.dk>