]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: don't io_prep_async_work() linked reqs
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 10 Oct 2020 17:34:05 +0000 (18:34 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 10 Oct 2020 18:49:20 +0000 (12:49 -0600)
commitcd9e874860165544d34396d83773dd27bbc34426
treed94fb70b91af4e0565f40b646549126a073cc98a
parent4ad681fb9c06ca9846985e2f416b65a4ea90da9e
io_uring: don't io_prep_async_work() linked reqs

There is no real reason left for preparing io-wq work context for linked
requests in advance, remove it as this might become a bottleneck in some
cases.

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