]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: lpfc: Allow set of maximum outstanding SCSI cmd limit for a target
authorJames Smart <jsmart2021@gmail.com>
Tue, 30 Jan 2018 23:58:53 +0000 (15:58 -0800)
committerJack Vogel <jack.vogel@oracle.com>
Thu, 8 Mar 2018 04:28:48 +0000 (20:28 -0800)
commit8d6ca0a871b9230dbb87f231588c60d1197b19b4
treea5b0843ce50c1d54ac42aae2c28a1d5ae64a392f
parented7d987ab3943aeb3e8f0bcc61ee45537e7d070a
scsi: lpfc: Allow set of maximum outstanding SCSI cmd limit for a target

Orabug: 27631736

Make the attribute writeable.

Remove the ramp up to logic as its unnecessary, simply set depth.  Add
debug message if depth changed, possibly reducing limit, yet our
outstanding count has yet to catch up with it.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 64bf009933bc84a7fb44ff50f86af0201b8be0c3)
Signed-off-by: Dick dkennedy <dick.kennedy@broadcom.com>
Signed-off-by: Dan Duval <dan.duval@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_scsi.c