diff options
author | Kevin Barnett <kevin.barnett@microchip.com> | 2024-07-11 14:47:03 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-08-02 22:08:35 -0400 |
commit | 57abab70a5e0179b5fff7c4a6dfdbcbcc97ca910 (patch) | |
tree | 1b06f8d7813ed799efbe0f0b1de9bd6fc1720c77 /drivers/pinctrl/starfive | |
parent | f1393d52e6cda9c20f12643cbecf1e1dc357e0e2 (diff) |
scsi: smartpqi: Improve handling of multipath failover
Improve multipath failovers by mapping firmware errors into I/O errors.
In some rare instances, firmware does not return the proper error code for
I/O errors caused by a multipath path failure.
Map I/O errors returned by firmware into errors that help the multipath
layer to detect the failure of a path.
Reviewed-by: Gerry Morong <gerry.morong@microchip.com>
Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
Signed-off-by: Kevin Barnett <kevin.barnett@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Link: https://lore.kernel.org/r/20240711194704.982400-5-don.brace@microchip.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/pinctrl/starfive')
0 files changed, 0 insertions, 0 deletions