]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add missing REQ_F_COMP_LOCKED for nested requests
authorJens Axboe <axboe@kernel.dk>
Mon, 10 Aug 2020 16:54:02 +0000 (10:54 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 10 Aug 2020 21:19:25 +0000 (15:19 -0600)
commit4ebf7396ee3f737beb0947b84dc047405be8bb3a
tree5dbf29bdddb9f401cb6a38468d7ad90896f4aa9f
parent25eb87b9d2ac416d626f10669bbcced72dd8c20b
io_uring: add missing REQ_F_COMP_LOCKED for nested requests

When we traverse into failing links or timeouts, we need to ensure we
propagate the REQ_F_COMP_LOCKED flag to ensure that we correctly signal
to the completion side that we already hold the completion lock.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c