diff options
author | Tyrel Datwyler <tyreld@linux.ibm.com> | 2023-09-21 17:54:27 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-09-21 22:14:20 -0400 |
commit | b27bce7291e688738c7ed47f300c877c11cef2dc (patch) | |
tree | f519b89ca68e5002331ded650a42c4bb381e3141 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e1a4e0d3ce3b24421c25b7c335f0b7b948fd0c7f (diff) |
scsi: ibmvfc: Limit max hw queues by num_online_cpus()
An LPAR could potentially be configured with a small logical cpu count that
is less then the default hardware queue max. Ensure that we don't allocate
more hw queues than available cpus.
Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Link: https://lore.kernel.org/r/20230921225435.3537728-4-tyreld@linux.ibm.com
Reviewed-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions