]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: remove req cancel in ->flush()
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 22 Oct 2020 15:38:27 +0000 (16:38 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 22 Oct 2020 15:54:19 +0000 (09:54 -0600)
commitc6cde10ba8f9ce9a61a32952619b9ac136b0dd75
tree1c358231e38340aa34a62eeef4777cb8699dd632
parent7b2245560b24e0d7b83020719ec1d4cfa9dc1b0d
io_uring: remove req cancel in ->flush()

Every close(io_uring) causes cancellation of all inflight requests
carrying ->files. That's not nice but was neccessary up until recently.
Now task->files removal is handled in the core code, so that part of
flush can be removed.

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