]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
io_uring: add support for canceling timeout requests
authorJens Axboe <axboe@kernel.dk>
Wed, 16 Oct 2019 15:08:32 +0000 (09:08 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Oct 2019 16:22:50 +0000 (10:22 -0600)
commit11365043e5271fea4c92189a976833da477a3a44
treea96e04551570765be2d332cd8d102b8f3f69346a
parenta41525ab2e75987e809926352ebc6f1397da900e
io_uring: add support for canceling timeout requests

We might have cases where the need for a specific timeout is gone, add
support for canceling an existing timeout operation. This works like the
POLL_REMOVE command, where the application passes in the user_data of
the timeout it wishes to cancel in the sqe->addr field.

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