]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: kill REQ_F_LTIMEOUT_ACTIVE
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 15 Aug 2021 09:40:23 +0000 (10:40 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Aug 2021 19:10:43 +0000 (13:10 -0600)
commit6f5e2a845e31cc5a8d267d611c3ce5dc90f23d96
tree7a93f47efc0a6a5fbc060112e6845a324930708b
parentaaf8ae72708033574eda02aeb22403e215f2c189
io_uring: kill REQ_F_LTIMEOUT_ACTIVE

Instead of handling double consecutive linked timeouts through tricky
flag combinations, just check the submit_state.link during timeout_prep
and fail that case in advance.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/04150760b0dc739522264b8abd309409f7421a06.1628981736.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c