]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: don't do async setup for links' heads
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 18 Feb 2021 18:29:46 +0000 (18:29 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 18 Feb 2021 20:13:18 +0000 (13:13 -0700)
commit980d56638a8f30574ac6796e93820dcb5793e166
tree7d11f92fea7a6b22ff51acb6119e149c3d9fffc8
parent1ba83b92caa299b7c832ce32c0b56ba68e22f603
io_uring: don't do async setup for links' heads

Now, as we can do async setup without holding an SQE, we can skip doing
io_req_defer_prep() for link heads, it will be tried to be executed
inline and follows all the rules of the non-linked requests.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c