Skip to content

Commit 465191d

Browse files
sreekanthbrcmmartinkpetersen
authored andcommitted
scsi: mpi3mr: Enable shared host tagset
Enable shared host tagset to make sure that total outstanding I/O count can not exceed controller's can_queue setting. Link: https://lore.kernel.org/r/20220628074848.5036-2-sreekanth.reddy@broadcom.com Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 7c33e47 commit 465191d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/scsi/mpi3mr/mpi3mr_os.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4321,6 +4321,8 @@ mpi3mr_probe(struct pci_dev *pdev, const struct pci_device_id *id)
43214321
shost->max_channel = 0;
43224322
shost->max_id = 0xFFFFFFFF;
43234323

4324+
shost->host_tagset = 1;
4325+
43244326
if (prot_mask >= 0)
43254327
scsi_host_set_prot(shost, prot_mask);
43264328
else {

0 commit comments

Comments
 (0)