summaryrefslogtreecommitdiff
path: root/drivers/scsi/hpsa.h
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2018-09-10 20:30:45 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-09-12 03:37:33 +0300
commit0ef01a2d95fd62bb4f536e7ce4d5e8e74b97a244 (patch)
tree9d9d43157b96057b9b64cd9c4d628f2d17557902 /drivers/scsi/hpsa.h
parentca7fb76e091f889cfda1287c07a9358f73832b39 (diff)
downloadlinux-0ef01a2d95fd62bb4f536e7ce4d5e8e74b97a244.tar.xz
scsi: lpfc: Correct soft lockup when running mds diagnostics
When running an mds diagnostic that passes frames with the switch, soft lockups are detected. The driver is in a CQE processing loop and has sufficient amount of traffic that it never exits the ring processing routine, thus the "lockup". Cap the number of elements in the work processing routine to 64 elements. This ensures that the cpu will be given up and the handler reschedule to process additional items. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hpsa.h')
0 files changed, 0 insertions, 0 deletions