scsi: qla2xxx: Return busy if rport going away
authorDarren Trapp <darren.trapp@cavium.com>
Wed, 21 Mar 2018 06:09:35 +0000 (23:09 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 21 Mar 2018 22:38:54 +0000 (18:38 -0400)
commit870fe24f3c0b2cf40998f8ab21d4cf4e4e9cf619
treec33e7433afd7c1c47cb8a2917ec2d888be548079
parent1763c1fd76d8e26c5e6d5a3e415e7deeeda3c5da
scsi: qla2xxx: Return busy if rport going away

This patch adds mechanism to return EBUSY if rport is going away
to prevent exhausting FC-NVMe layer's retry counter.

Signed-off-by: Darren Trapp <darren.trapp@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_nvme.c