io_uring: add timeout update
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 30 Nov 2020 19:11:16 +0000 (19:11 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Dec 2020 19:04:01 +0000 (12:04 -0700)
commit9c8e11b36c9b640a85a4a33a9e9dff418993cc34
tree61be3b8e22cedd5d21770fea0d4e734ae60c39bb
parentfbd15848f3c13506253b6c5de0077a603947cb67
io_uring: add timeout update

Support timeout updates through IORING_OP_TIMEOUT_REMOVE with passed in
IORING_TIMEOUT_UPDATE. Updates doesn't support offset timeout mode.
Oirignal timeout.off will be ignored as well.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
[axboe: remove now unused 'ret' variable]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/uapi/linux/io_uring.h