OSDN Git Service

io_uring: warn about unhandled opcode
authorJens Axboe <axboe@kernel.dk>
Wed, 18 Dec 2019 02:45:06 +0000 (19:45 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 18 Dec 2019 02:57:27 +0000 (19:57 -0700)
commite781573e2fb1b75acdba61dcb9bcbfc16f288442
tree9ff80332eeb57648555db40fa7d43b02b2fa95a9
parentd625c6ee4975000140c57da7e1ff244efefde274
io_uring: warn about unhandled opcode

Now that we have all the opcodes handled in terms of command prep and
SQE reuse, add a printk_once() to warn about any potentially new and
unhandled ones.

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