]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commita6d45dd0d43e6d1275e002704540688b6768bc22
treece7b2c42b99966d08e1ea5f7e4f68b5470361c82
parent1bcb8c5d65a845e0ecb9e82237c399b29b8d15ea
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