diff options
| author | Ming Lei <[email protected]> | 2025-03-22 09:32:13 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-03-22 14:35:08 +0000 |
| commit | 8842b72a821d4cd49281fa096c35f9fa630ec981 (patch) | |
| tree | dc34aea6ba1c4612e4361acae477431510dc97d0 /net/unix/sysctl_net_unix.c | |
| parent | selftests: ublk: move common code into common.c (diff) | |
| download | kernel-8842b72a821d4cd49281fa096c35f9fa630ec981.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
