]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: don't mark link's head for_async
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 27 Jun 2020 11:04:57 +0000 (14:04 +0300)
committerJens Axboe <axboe@kernel.dk>
Sun, 28 Jun 2020 14:10:17 +0000 (08:10 -0600)
commit91a581245349049dbe8dd5caca69aecb8d3cfb33
treece7b2c42b99966d08e1ea5f7e4f68b5470361c82
parent3d621e47e0edd92e3ad88550b2aa896490418767
io_uring: don't mark link's head for_async

No reason to mark a head of a link as for-async in io_req_defer_prep().
grab_env(), etc. That will be done further during submission if
neccessary.

Mark for_async=false saving extra grab_env() in many cases.

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