aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLee Duncan <[email protected]>2016-01-20 11:48:00 -0800
committerMartin K. Petersen <[email protected]>2016-02-23 21:27:02 -0500
commit126a4fe010fd86cf3eaac9a481f0698e39dc3c0d (patch)
tree1e14f372d7e8eac390dabcad683fea6fb0f19c6f /tools/perf/scripts/python/export-to-postgresql.py
parentd92ca9d3de862cb123d7ef0fd42dc1e9867dd590 (diff)
scsi: Use ida for host number management
Update the SCSI hosts module to use ida to manage its host_no index instead of an atomic integer. This means that the SCSI host number will now be reclaimable. Use the ida "simple" mechanism, since there should be no need for a separate spin lock current usage. Ida was chosen over idr because the hosts module already has its own instance and locking mechanisms that aren't easily changed. Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Lee Duncan <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions