diff options
| author | Caleb Sander Mateos <csander@purestorage.com> | 2026-08-03 15:14:33 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-08-03 20:32:09 -0600 |
| commit | f510198855b6ddac0ffe62684dc407c56d3e0f24 (patch) | |
| tree | 6fef910d6950a553c7c2a297b833ee55a3f41083 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 15c1339ef44054cc79c49b40b24a26aa80a2253e (diff) | |
ublk: consistently use u16 for queue and tag numbers
The u16 nr_hw_queues and queue_depth fields of the ublk UAPI struct
ublksrv_ctrl_dev_info constrain the number of queues and queue depth of
each ublk device. However, the ublk driver is a bit inconsistent with
the type it uses to represent these values, mixing u16 with int and
unsigned int. Change all queue number, queue depth, q_id, and tag
variables/fields to u16 to save some space.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Ming Lei <tom.leiming@gmail.com>
Link: https://patch.msgid.link/20260803211441.2538144-2-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
