aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMd Haris Iqbal <[email protected]>2022-07-07 16:31:22 +0200
committerJens Axboe <[email protected]>2022-08-02 17:14:50 -0600
commitce11bdf946176d48c2c0d36b56f0bf368c177298 (patch)
treeadf52190feed0d436cefe121a081760d02244e77 /tools/perf/scripts/python
parent4bc14f3101364877dd59085f39e068a2a7ec9f2d (diff)
block/rnbd-srv: Replace sess_dev_list with index_idr
The structure rnbd_srv_session maintains a list and an xarray of rnbd_srv_dev. There is no need to keep both as one of them can serve the purpose. Since one of the places where the lookup of rnbd_srv_dev using rnbd_srv_session is IO path, an xarray would serve us better than a list traversal. Hence remove sess_dev_list from rnbd_srv_session, and replace its uses from xarray. Signed-off-by: Md Haris Iqbal <[email protected]> Reviewed-by: Aleksei Marov <[email protected]> Signed-off-by: Jack Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions