]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: revert "io_uring: optimize submit_and_wait API"
authorJens Axboe <axboe@kernel.dk>
Tue, 22 Oct 2019 19:14:37 +0000 (13:14 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Oct 2019 04:09:56 +0000 (22:09 -0600)
commit8e8775f06ed54ecac8965e171579bb1824359780
tree8a224100cc9b734ba5ad250a45c14b886b7ea68f
parentd55ec79322ce9b92dd17cc61a7dbc4dc812814a3
io_uring: revert "io_uring: optimize submit_and_wait API"

There are cases where it isn't always safe to block for submission,
even if the caller asked to wait for events as well. Revert the
previous optimization of doing that.

This reverts two commits:

adc5c712650dc
8753f670cb1a1

Fixes: 8753f670cb1a1 ("io_uring: optimize submit_and_wait API")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c