OSDN Git Service

scsi: mpt3sas: Don't abort I/Os issued to NVMe drives while processing Async Broadcas...
authorChaitra P B <chaitra.basappa@broadcom.com>
Thu, 31 May 2018 10:34:47 +0000 (06:34 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Jun 2018 01:05:32 +0000 (21:05 -0400)
commit999c85134db71599698917775f35fd56ced2dc0a
tree98b1ee95fe660d4c3b0d8e08be8334360841d240
parent9554c1be48b437f192234eebb89f124ba3ef0e25
scsi: mpt3sas: Don't abort I/Os issued to NVMe drives while processing Async Broadcast primitive event.

Linux driver when receives Broadcast Asynchronous Event Notification (BAEN)
from the controller firmware, checks all pending I/Os at the driver level
and issues query task, abort task TMs. This is done in the driver to handle
drives which are connected with multiple initiators and undergoing target
resets. In the BAEN handling code, the I/Os issued to NVMe drives are also
handled and query task and abort task TMs are issued, which are not
necessary as there is no multi-initiator and no BAEN concept with NVMe
drives. Hence when the driver checks for pending I/Os it skips NVMe drives
at this moment.

Signed-off-by: Chaitra P B <chaitra.basappa@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_scsih.c