diff options
| author | 2026-01-16 22:18:52 +0800 | |
|---|---|---|
| committer | 2026-01-22 20:05:41 -0700 | |
| commit | d468930a019df71951a80fde20f6348136a2175d (patch) | |
| tree | 357f4ca32995e3465b5e730ba874f4447e3eb0ed /include/rdma/ssh:/git@git.zx2c4.com/git: | |
| parent | selftests: ublk: add batch buffer management infrastructure (diff) | |
selftests: ublk: handle UBLK_U_IO_PREP_IO_CMDS
Implement support for UBLK_U_IO_PREP_IO_CMDS in the batch I/O framework:
- Add batch command initialization and setup functions
- Implement prep command queueing with proper buffer management
- Add command completion handling for prep and commit commands
- Integrate batch I/O setup into thread initialization
- Update CQE handling to support batch commands
The implementation uses the previously established buffer management
infrastructure to queue UBLK_U_IO_PREP_IO_CMDS commands. Commands are
prepared in the first thread context and use commit buffers for
efficient command batching.
Key changes:
- ublk_batch_queue_prep_io_cmds() prepares I/O command batches
- ublk_batch_compl_cmd() handles batch command completions
- Modified thread setup to use batch operations when enabled
- Enhanced buffer index calculation for batch mode
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/rdma/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
