commit | e1915f76a8981f0a750cf56515df42582a37c4b0 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Mar 11 23:29:35 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Mar 12 07:23:00 2021 -0700 |
tree | ca912172c529fb7e9e91072f520602ca22f1bcf5 | |
parent | d052d1d685f5125249ab4ff887562c88ba959638 [diff] |
io_uring: cancel deferred requests in try_cancel As io_uring_cancel_files() and others let SQO to run between io_uring_try_cancel_requests(), SQO may generate new deferred requests, so it's safer to try to cancel them in it. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>