OSDN Git Service

io_uring: batch-free linked requests as well
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 28 Jun 2020 09:52:32 +0000 (12:52 +0300)
committerJens Axboe <axboe@kernel.dk>
Sun, 28 Jun 2020 14:10:17 +0000 (08:10 -0600)
commitc3524383333e4ff2f720ab0c02b3a329f72de78b
treeb18e611e0d79ca224a2ad1494784e59e6c1c5d25
parent2757a23e7f6441eabf605ca59eeb88c34071757d
io_uring: batch-free linked requests as well

There is no reason to not batch deallocation of linked requests. Take
away its next req first and handle it as everything else in
io_req_multi_free().

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