diff options
author | Ranjan Kumar <ranjan.kumar@broadcom.com> | 2024-02-21 12:47:24 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-02-26 20:42:50 -0500 |
commit | ee0017c3ed8a8abfa4d40e42f908fb38c31e7515 (patch) | |
tree | cdd0b4921f1beb214f07c924ac666131079d956c /scripts/gdb/linux/mm.py | |
parent | 5cc2da0b60e5b4daf6cf7442ee66f1f91878c0b5 (diff) |
scsi: mpt3sas: Prevent sending diag_reset when the controller is ready
If the driver detects that the controller is not ready before sending the
first IOC facts command, it will wait for a maximum of 10 seconds for it to
become ready. However, even if the controller becomes ready within 10
seconds, the driver will still issue a diagnostic reset.
Modify the driver to avoid sending a diag reset if the controller becomes
ready within the 10-second wait time.
Signed-off-by: Ranjan Kumar <ranjan.kumar@broadcom.com>
Link: https://lore.kernel.org/r/20240221071724.14986-1-ranjan.kumar@broadcom.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions