]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: bnx2fc: Handle scope bits when array returns BUSY or TSF
authorLaurence Oberman <loberman@redhat.com>
Wed, 11 Sep 2019 13:56:42 +0000 (09:56 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 24 Sep 2019 02:13:30 +0000 (22:13 -0400)
commiteed5019aacca640912c6b64e82a535a45f4d5478
tree17d6e143d2cf388d552c9f487b8b67ed8c63b4ca
parentda265c69b5955472f29984d7990939040277dc47
scsi: bnx2fc: Handle scope bits when array returns BUSY or TSF

The qla2xxx driver had this issue as well when the newer array firmware
returned the retry_delay_timer in the fcp_rsp.  The bnx2fc is not handling
the masking of the scope bits either so the retry_delay_timestamp value
lands up being a large value added to the timer timestamp delaying I/O for
up to 27 Minutes.  This patch adds similar code to handle this to the
bnx2fc driver to avoid the huge delay.

Link: https://lore.kernel.org/r/1568210202-12794-1-git-send-email-loberman@redhat.com
Signed-off-by: Laurence Oberman <loberman@redhat.com>
Reported-by: David Jeffery <djeffery@redhat.com>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bnx2fc/bnx2fc_io.c