diff options
author | Mike Christie <[email protected]> | 2021-02-06 22:46:04 -0600 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2021-02-08 22:39:04 -0500 |
commit | b4046922b3c0740ad50a6e9c59e12f4dc43946d4 (patch) | |
tree | ebebb574b8725d5147859b3a5848ef46192908c1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c435f0a9ecb7435e70f447b7231ca52de589b252 (diff) |
scsi: libiscsi: Add helper to calculate max SCSI cmds per session
This patch just breaks out the code that calculates the number of SCSI cmds
that will be used for a SCSI session. It also adds a check that we don't go
over the host's can_queue value.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Lee Duncan <[email protected]>
Signed-off-by: Mike Christie <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions