aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2023-01-06 12:17:09 +0800
committerJens Axboe <axboe@kernel.dk>2023-01-29 15:18:34 -0700
commitabb864d380854b5427b6b070beb2ebc291ce4d1e (patch)
treea044138fccf58aebdb0b0b04814f27878dd742f1 /tools/perf/scripts/python
parentublk_drv: move ublk_get_device_from_id into ublk_ctrl_uring_cmd (diff)
downloadlinux-abb864d380854b5427b6b070beb2ebc291ce4d1e.tar.gz
linux-abb864d380854b5427b6b070beb2ebc291ce4d1e.zip
ublk_drv: add device parameter UBLK_PARAM_TYPE_DEVT
Userspace side only knows device ID, but the associated path of ublkc* and ublkb* could be changed by udev, and that depends on userspace's policy, so add parameter of UBLK_PARAM_TYPE_DEVT for retrieving major/minor of the ublkc* and ublkb*, then user may figure out major/minor of the ublk disks he/she owns. With major/minor, it is easy to find the device node path. Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20230106041711.914434-5-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions