aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorTyrel Datwyler <[email protected]>2022-03-22 12:44:43 -0700
committerMartin K. Petersen <[email protected]>2022-03-29 23:39:24 -0400
commit0bade8e53279157c7cc9dd95d573b7e82223d78a (patch)
treea1e3ce5e296ae1a0c440e72672a45caec47b7e30 /lib/mpi/mpiutil.c
parentbc5519c18a32ce855bb51b9f5eceb77a9489d080 (diff)
scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024
The adapter request_limit is hardcoded to be INITIAL_SRP_LIMIT which is currently an arbitrary value of 800. Increase this value to 1024 which better matches the characteristics of the typical IBMi Initiator that supports 32 LUNs and a queue depth of 32. This change also has the secondary benefit of being a power of two as required by the kfifo API. Since, Commit ab9bb6318b09 ("Partially revert "kfifo: fix kfifo_alloc() and kfifo_init()"") the size of IU pool for each target has been rounded down to 512 when attempting to kfifo_init() those pools with the current request_limit size of 800. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Tyrel Datwyler <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions