diff options
author | Ming Lei <ming.lei@redhat.com> | 2025-03-22 17:32:13 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-03-22 08:35:08 -0600 |
commit | 8842b72a821d4cd49281fa096c35f9fa630ec981 (patch) | |
tree | dc34aea6ba1c4612e4361acae477431510dc97d0 /net/lapb/lapb_timer.c | |
parent | 10d962dae2f6b4a7d86579cc6fe9d8987117fa8f (diff) |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions