]> 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)
commit506058aca46e6ac494d676564f62f0b0058cee02
tree1c358231e38340aa34a62eeef4777cb8699dd632
parentf05ecb9efb79b02e9e8708d463ffc2a3603fdee5
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