OSDN Git Service

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)
commitbc808bced39f4e4b626c5ea8c63d5e41fce7205a
tree8a224100cc9b734ba5ad250a45c14b886b7ea68f
parent7d194c2100ad2a6dded545887d02754948ca5241
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:

bf7ec93c644cb
c576666863b78

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