diff options
author | Daniel Wagner <dwagner@suse.de> | 2020-12-02 14:22:58 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-12-09 17:34:17 +0100 |
commit | 305c16ce2632dca5056d7a1839c27f49c603f7f8 (patch) | |
tree | 26b1a349427711af5fcd5b125da12b0f717713b5 /drivers/scsi/fdomain_pci.c | |
parent | scsi: qla4xxx: Remove redundant assignment to variable rval (diff) | |
download | linux-305c16ce2632dca5056d7a1839c27f49c603f7f8.tar.xz linux-305c16ce2632dca5056d7a1839c27f49c603f7f8.zip |
scsi: qla2xxx: Return EBUSY on fcport deletion
When the fcport is about to be deleted we should return EBUSY instead of
ENODEV. Only for EBUSY will the request be requeued in a multipath setup.
Also return EBUSY when the firmware has not yet started to avoid dropping
the request.
Link: https://lore.kernel.org/r/20201014073048.36219-1-dwagner@suse.de
Link: https://lore.kernel.org/r/20201202132312.19966-2-njavali@marvell.com
Reviewed-by: Arun Easi <aeasi@marvell.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/fdomain_pci.c')
0 files changed, 0 insertions, 0 deletions