diff options
author | 2025-03-22 17:32:13 +0800 | |
---|---|---|
committer | 2025-03-22 08:35:08 -0600 | |
commit | 8842b72a821d4cd49281fa096c35f9fa630ec981 (patch) | |
tree | dc34aea6ba1c4612e4361acae477431510dc97d0 /scripts/gdb/linux/utils.py | |
parent | selftests: ublk: move common code into common.c (diff) | |
download | wireguard-linux-8842b72a821d4cd49281fa096c35f9fa630ec981.tar.xz wireguard-linux-8842b72a821d4cd49281fa096c35f9fa630ec981.zip |
selftests: ublk: prepare for supporting stripe target
- pass 'truct dev_ctx *ctx' to target init function
- add 'private_data' to 'struct ublk_dev' for storing target specific data
- add 'private_data' to 'struct ublk_io' for storing per-IO data
- add 'tgt_ios' to 'struct ublk_io' for counting how many io_uring ios
for handling the current io command
- add helper ublk_get_io() for supporting stripe target
- add two helpers for simplifying target io handling
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250322093218.431419-6-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