]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: account io_uring internal files as REQ_F_INFLIGHT
authorJens Axboe <axboe@kernel.dk>
Sat, 23 Jan 2021 22:49:31 +0000 (15:49 -0700)
committerJens Axboe <axboe@kernel.dk>
Sun, 24 Jan 2021 17:15:33 +0000 (10:15 -0700)
commit0e73b10fcb8fd0dbf58a41cf2efcd89a0a6c4aa9
tree2334216d23c483734b1deec80551e35045e47d30
parent02c02f5b701d70609353661ceda83a3f0e8be4f7
io_uring: account io_uring internal files as REQ_F_INFLIGHT

We need to actively cancel anything that introduces a potential circular
loop, where io_uring holds a reference to itself. If the file in question
is an io_uring file, then add the request to the inflight list.

Cc: stable@vger.kernel.org # 5.9+
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c