diff options
author | Ming Lei <[email protected]> | 2024-05-10 11:50:27 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-05-10 06:09:45 -0600 |
commit | 3d8f874bd620ce03f75a5512847586828ab86544 (patch) | |
tree | 5a832d22573e3c9a3e402dc7964f863951369ec0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d3da8e98592693811c14c31f05380f378411fea1 (diff) |
io_uring: fail NOP if non-zero op flags is passed in
The NOP op flags should have been checked from beginning like any other
opcode, otherwise NOP may not be extended with the op flags.
Given both liburing and Rust io-uring crate always zeros SQE op flags, just
ignore users which play raw NOP uring interface without zeroing SQE, because
NOP is just for test purpose. Then we can save one NOP2 opcode.
Suggested-by: Jens Axboe <[email protected]>
Fixes: 2b188cc1bb85 ("Add io_uring IO interface")
Cc: [email protected]
Signed-off-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions