diff options
author | Michael Kelley <mikelley@microsoft.com> | 2023-08-25 19:21:24 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-08-25 23:10:02 +0200 |
commit | 812fe6420a6e789db68f18cdb25c5c89f4561334 (patch) | |
tree | 26ae8f60b5deb0b1ddeaf141f3261db2e87f09f0 /drivers/scsi/snic/snic_disc.c | |
parent | scsi: snic: Fix double free in snic_tgt_create() (diff) | |
download | linux-812fe6420a6e789db68f18cdb25c5c89f4561334.tar.xz linux-812fe6420a6e789db68f18cdb25c5c89f4561334.zip |
scsi: storvsc: Handle additional SRB status values
Testing of virtual Fibre Channel devices under Hyper-V has shown additional
SRB status values being returned for various error cases. Because these
SRB status values are not recognized by storvsc, the I/O operations are not
flagged as an error. Requests are treated as if they completed normally but
with zero data transferred, which can cause a flood of retries.
Add definitions for these SRB status values and handle them like other
error statuses from the Hyper-V host.
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1692984084-95105-1-git-send-email-mikelley@microsoft.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/snic/snic_disc.c')
0 files changed, 0 insertions, 0 deletions