scsi: qla2xxx: Fix I/O errors during LIP reset tests
authorArun Easi <aeasi@marvell.com>
Fri, 4 Sep 2020 04:51:23 +0000 (21:51 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 22 Sep 2020 22:42:45 +0000 (18:42 -0400)
commita35f87bdcc0615c5a3a695d13dd1ccf827826368
tree2ee8da65289041c7fd34c3ae5a1510f43e77b695
parent49db4d4e02aabcd4fa2f60142ef42e50fb2dd526
scsi: qla2xxx: Fix I/O errors during LIP reset tests

In .fcp_io(), returning ENODEV as soon as remote port delete has started
can cause I/O errors. Fix this by returning EBUSY until the remote port
delete finishes.

Link: https://lore.kernel.org/r/20200904045128.23631-9-njavali@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Arun Easi <aeasi@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_nvme.c