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)
commit5bf5e464f1acb1c031b4a290d63760bcb074c027
treed94fb70b91af4e0565f40b646549126a073cc98a
parent5e2ed8c4f45093698855b1f45cdf43efbf6dd498
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