commit | b7ddce3cbf010edbfac6c6d8cc708560a7bcd7a4 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sun Sep 06 00:45:14 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Sep 05 15:59:51 2020 -0600 |
tree | 024015addf58f2ed8c79b89d6c20be7cefc418b6 | |
parent | c183edff33fdcd639d222a8f473bf44602adc655 [diff] |
io_uring: fix cancel of deferred reqs with ->files While trying to cancel requests with ->files, it also should look for requests in ->defer_list, otherwise it might end up hanging a thread. Cancel all requests in ->defer_list up to the last request there with matching ->files, that's needed to follow drain ordering semantics. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>