]> 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)
commite5ff6b23dd0df2a42d9eff3383e3ce2ebcbbfc01
treea6f4b85725762a9dbc3cb39ce100c22979c8f159
parent9e7ebf0d67191b7287534715fa324f73eb137500
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