diff options
author | 2025-03-22 17:32:09 +0800 | |
---|---|---|
committer | 2025-03-22 08:35:08 -0600 | |
commit | 723977cab4c0fdcf5ba08da9e30a6ad72efa2464 (patch) | |
tree | b3228db1bd5a4bcba6396f30a5058a6609a9eb84 /scripts/gdb/linux/utils.py | |
parent | selftests: ublk: fix starting ublk device (diff) | |
download | wireguard-linux-723977cab4c0fdcf5ba08da9e30a6ad72efa2464.tar.xz wireguard-linux-723977cab4c0fdcf5ba08da9e30a6ad72efa2464.zip |
selftests: ublk: add generic_01 for verifying sequential IO order
block layer, ublk and io_uring might re-order IO in the past
- plug
- queue ublk io command via task work
Add one test for verifying if sequential WRITE IO is dispatched in order.
- null target is taken, so we can just observe io order from
`tracepoint:block:block_rq_complete` which represents the dispatch order
- WRITE IO is taken because READ may come from system-wide utility
Cc: Uday Shankar <ushankar@purestorage.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250322093218.431419-2-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions