]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: allow IO_SQE_* flags on IORING_OP_TIMEOUT
authorJens Axboe <axboe@kernel.dk>
Wed, 4 Dec 2019 17:34:03 +0000 (10:34 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 4 Dec 2019 17:34:03 +0000 (10:34 -0700)
commitd65c1eafb8296d5b1640174eff2f54e4f653f80e
treea6f4b85725762a9dbc3cb39ce100c22979c8f159
parent8623e98c884cf720efaae4316ff0af5b37b72972
io_uring: allow IO_SQE_* flags on IORING_OP_TIMEOUT

There's really no reason why we forbid things like link/drain etc on
regular timeout commands. Enable the usual SQE flags on timeouts.

Reported-by: 李通洲 <carter.li@eoitek.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c