mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 06:24:53 +08:00
scsi: mpt3sas: Increase cmd_per_lun to 128
With cmd_per_lun value 7, a higher number of cache lines (map_nr) are needed while allocating sdev->budget_map which is not reasonable and hence increase the cmd_per_lun value to 128. Link: https://lore.kernel.org/r/20220825075457.16422-4-sreekanth.reddy@broadcom.com Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
463e683bfd
commit
669b2b667e
@ -11988,7 +11988,7 @@ static struct scsi_host_template mpt3sas_driver_template = {
|
||||
.sg_tablesize = MPT3SAS_SG_DEPTH,
|
||||
.max_sectors = 32767,
|
||||
.max_segment_size = 0xffffffff,
|
||||
.cmd_per_lun = 7,
|
||||
.cmd_per_lun = 128,
|
||||
.shost_groups = mpt3sas_host_groups,
|
||||
.sdev_groups = mpt3sas_dev_groups,
|
||||
.track_queue_depth = 1,
|
||||
|
Loading…
Reference in New Issue
Block a user