OSDN Git Service

io_uring: add io_uring_get_opcode
authorDylan Yudaken <dylany@fb.com>
Tue, 26 Apr 2022 08:29:05 +0000 (01:29 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Apr 2022 12:50:42 +0000 (06:50 -0600)
commit33337d03f04f9ea3a50ac2d3490a5d7a3ba9be82
treee1cac17dba676d80ee7b837f11ceb81f571be261
parentcc51eaa8b530bf070e76847a717adcbf603469b7
io_uring: add io_uring_get_opcode

In some debug scenarios it is useful to have the text representation of
the opcode. Add this function in preparation.

Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220426082907.3600028-3-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/linux/io_uring.h