io_uring: extend batch freeing to cover more cases
authorJens Axboe <axboe@kernel.dk>
Sat, 28 Dec 2019 19:11:08 +0000 (12:11 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 15 Jan 2020 22:05:02 +0000 (15:05 -0700)
commitea5c55d9075b03ae8d2f29d56451493bc355aa2b
tree5cd2da3a0a97332533a3e20b67256f1f74c3f3be
parent4f0132aed8584ebc55153cfc3fed0799bea26abe
io_uring: extend batch freeing to cover more cases

Currently we only batch free if fixed files are used, no links, no aux
data, etc. This extends the batch freeing to only exclude the linked
case and fallback case, and make io_free_req_many() handle the other
cases just fine.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c