]> 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)
commitbe5bd0ad43f7c7045fcce4661b230f8afb9392ec
tree8a224100cc9b734ba5ad250a45c14b886b7ea68f
parent83737fc1db9c404119a5af85e3d068af72b0971e
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:

29788fdd03cf1
262c087954bb9

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