diff options
author | Chaitra P B <chaitra.basappa@broadcom.com> | 2016-05-06 14:29:31 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-05-11 16:14:31 -0400 |
commit | 5f0dfb7a9bcc8139958f59ecb9bbd7e738ae702d (patch) | |
tree | 88ceb21699c892611b53b94ba21b395aff2885b1 /drivers/scsi/script_asm.pl | |
parent | 6c197093847e8cdec844df39a373bfe1f9a1ac8a (diff) | |
download | blackbird-obmc-linux-5f0dfb7a9bcc8139958f59ecb9bbd7e738ae702d.tar.gz blackbird-obmc-linux-5f0dfb7a9bcc8139958f59ecb9bbd7e738ae702d.zip |
mpt3sas: Used "synchronize_irq()"API to synchronize timed-out IO & TMs
Replaced mpt3sas_base_flush_reply_queues() with
mpt3sas_base_sync_reply_irqs(),as mpt3sas_base_flush_reply_queues()
skips over reply queues that are currently busy (i.e. being handled by
interrupt processing in another core). If a reply queue is busy, then
call to synchronize_irq()in mpt3sas_base_sync_reply_irqs()make sures the
other core has finished flushing the queue and completed any calls to
the mid-layer scsi_done() routine.
Signed-off-by: Chaitra P B <chaitra.basappa@broadcom.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/script_asm.pl')
0 files changed, 0 insertions, 0 deletions