]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add req->timeout.list
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 13 Jul 2020 20:37:12 +0000 (23:37 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 24 Jul 2020 18:55:45 +0000 (12:55 -0600)
commita5fdbcf2c22d793931ef20e4415b6196c886e7df
tree0986922e14a90eb571149e8c4e524e2fcee65717
parentc795ac15a10c8fd08be1dd44b8a456d6a770d2e9
io_uring: add req->timeout.list

Instead of using shared req->list, hang timeouts up on their own list
entry. struct io_timeout have enough extra space for it, but if that
will be a problem ->inflight_entry can reused for that.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c