summaryrefslogtreecommitdiffstats
path: root/fs/io-wq.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-12-04 19:08:05 +0100
committerJens Axboe <axboe@kernel.dk>2019-12-04 19:12:08 +0100
commit2d28390aff879238f00e209e38c2a0b78717360e (patch)
treebaa1efa231b550a7ed82bcf966f6f2dbeb79fab6 /fs/io-wq.h
parentio_uring: allow IO_SQE_* flags on IORING_OP_TIMEOUT (diff)
downloadlinux-2d28390aff879238f00e209e38c2a0b78717360e.tar.xz
linux-2d28390aff879238f00e209e38c2a0b78717360e.zip
io_uring: ensure deferred timeouts copy necessary data
If we defer a timeout, we should ensure that we copy the timespec when we have consumed the sqe. This is similar to commit f67676d160c6 for read/write requests. We already did this correctly for timeouts deferred as links, but do it generally and use the infrastructure added by commit 1a6b74fc8702 instead of having the timeout deferral use its own. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.h')
0 files changed, 0 insertions, 0 deletions