Raghava Aditya Renukunta 849ac6a591 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: stable@vger.kernel.org
Fixes: 3d77d8404478353358 (scsi: aacraid: Added support for periodic wellness sync)
Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Reviewed-by: David Carroll <David.Carroll@microsemi.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-02-22 18:41:42 -05:00
..
2017-02-21 11:51:42 -08:00
2017-02-21 11:51:42 -08:00
2017-02-08 10:51:24 -08:00
2017-02-21 11:51:42 -08:00
2017-02-21 11:51:42 -08:00
2017-02-21 11:51:42 -08:00
2016-12-14 10:49:33 -08:00
2017-02-21 11:51:42 -08:00
2017-02-21 11:51:42 -08:00
2017-02-21 11:51:42 -08:00
2015-04-17 10:13:56 -07:00
2015-11-25 22:08:55 -05:00
2014-07-17 22:07:37 +02:00
2016-05-10 22:01:07 -04:00
2015-11-09 17:11:57 -08:00
2014-11-24 16:13:16 +01:00
2015-11-09 16:32:14 -08:00
2017-02-21 11:51:42 -08:00
2017-01-05 00:21:12 -05:00
2016-02-25 21:10:53 -05:00
2016-11-08 17:29:46 -05:00
2016-01-27 20:36:10 +08:00
2016-01-27 20:36:10 +08:00
2014-07-17 22:07:35 +02:00
2016-02-23 21:27:02 -05:00
2016-11-28 15:51:31 -05:00
2017-02-21 11:51:42 -08:00
2017-02-21 10:57:33 -08:00
2017-02-21 11:51:42 -08:00
2017-01-31 14:00:34 -07:00
2016-11-14 13:16:42 -07:00
2017-02-21 11:51:42 -08:00
2016-10-18 19:49:11 -06:00
2017-02-21 10:57:33 -08:00
2016-02-23 21:27:02 -05:00
2014-07-17 22:07:39 +02:00
2014-11-12 11:15:57 +01:00
2015-11-18 11:59:09 -05:00
2016-02-23 21:27:02 -05:00
2017-02-21 11:51:42 -08:00