diff options
author | Raghava Aditya Renukunta <[email protected]> | 2017-02-16 12:51:17 -0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-02-22 18:41:42 -0500 |
commit | 849ac6a591bf7b5777fdb6ce65030f32a7c73e1a (patch) | |
tree | 1bd73a0df95dfe47a301ae93b5829e29d6eaa288 /lib/mpi/mpi-cmp.c | |
parent | a7e2c642844cfefd570cb54a8d9fe7b85605311b (diff) |
scsi: aacraid: Skip wellness sync on controller failure
aac_command_thread checks on the health of controller periodically,
using aac_check_health. If the status is an error state KERNEL_PANIC or
anything else. The driver will attempt to restart the adapter, but the
response is not checked in aac_command_thread. This allows the periodic
sync to go thru and lead the driver to a hung state.
Fixed by terminating the periodic loop(intended per original design),
if the controller is not restored to a healthy state.
Cc: [email protected]
Fixes: 3d77d8404478353358 (scsi: aacraid: Added support for periodic wellness sync)
Signed-off-by: Raghava Aditya Renukunta <[email protected]>
Reviewed-by: David Carroll <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions