]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: remove inflight batching in free_many()
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 28 Jun 2020 09:52:30 +0000 (12:52 +0300)
committerJens Axboe <axboe@kernel.dk>
Sun, 28 Jun 2020 14:10:17 +0000 (08:10 -0600)
commit97a9190161989acd52222349bd522c8624d37f01
treee788aff0740284f4ff500bf0caf95085b18b571e
parent32e941b7f50c66a93add4de41cdcaaa8dbdebd55
io_uring: remove inflight batching in free_many()

io_free_req_many() is used only for iopoll requests, i.e. reads/writes.
Hence no need to batch inflight unhooking. For safety, it'll be done by
io_dismantle_req(), which replaces __io_req_aux_free(), and looks more
solid and cleaner.

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