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)
commite6543a816edca00b6b4c48625d142059d7211059
treee788aff0740284f4ff500bf0caf95085b18b571e
parent8c9cb6cd9a46ae6fb7cb6c39cf6a48a53440feef
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