Commit 1c7cc1c
committed
scsi: smartpqi: Add timeout value to RAID path requests to physical devices
JIRA: https://issues.redhat.com/browse/RHEL-107917
commit f3ecbba
Author: Mike McGowen <Mike.McGowen@microchip.com>
Date: Thu Nov 6 10:38:19 2025 -0600
scsi: smartpqi: Add timeout value to RAID path requests to physical devices
Add a timeout value to requests sent to physical devices via the RAID
path.
A timeout value of zero means wait indefinitely, which may cause the OS
to issue Target Management Function (TMF) commands if the device does
not respond.
For input timeouts of 8 seconds or greater, the value sent to firmware
is reduced by 3 seconds to provide an earlier firmware timeout and allow
the OS additional time before timing out.
This change improves timeout handling between the driver, firmware, and
OS, helping to better manage device responsiveness and avoid indefinite
waits.
Reviewed-by: David Strahan <david.strahan@microchip.com>
Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Signed-off-by: Mike McGowen <Mike.McGowen@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Link: https://patch.msgid.link/20251106163823.786828-2-don.brace@microchip.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit f3ecbba)
Assisted-by: Patchpal
Signed-off-by: Don Brace <dbrace@redhat.com>1 parent 7dffc1b commit 1c7cc1c
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5554 | 5554 | | |
5555 | 5555 | | |
5556 | 5556 | | |
| 5557 | + | |
| 5558 | + | |
| 5559 | + | |
| 5560 | + | |
| 5561 | + | |
| 5562 | + | |
| 5563 | + | |
| 5564 | + | |
| 5565 | + | |
5557 | 5566 | | |
5558 | 5567 | | |
5559 | 5568 | | |
5560 | 5569 | | |
5561 | 5570 | | |
| 5571 | + | |
5562 | 5572 | | |
5563 | 5573 | | |
5564 | 5574 | | |
| 5575 | + | |
5565 | 5576 | | |
5566 | 5577 | | |
5567 | 5578 | | |
| |||
5633 | 5644 | | |
5634 | 5645 | | |
5635 | 5646 | | |
| 5647 | + | |
| 5648 | + | |
| 5649 | + | |
| 5650 | + | |
| 5651 | + | |
| 5652 | + | |
5636 | 5653 | | |
5637 | 5654 | | |
5638 | 5655 | | |
| |||
0 commit comments