linux/drivers/scsi/aacraid
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: 3d77d84044 (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
..
aachba.c scsi: aacraid: Fix camel case 2017-02-22 18:41:41 -05:00
aacraid.h scsi: aacraid: Fix sync fibs time out on controller reset 2017-02-22 18:41:42 -05:00
commctrl.c scsi: aacraid: Use correct channel number for raw srb 2017-02-22 18:41:41 -05:00
comminit.c scsi: aacraid: Fix sync fibs time out on controller reset 2017-02-22 18:41:42 -05:00
commsup.c scsi: aacraid: Skip wellness sync on controller failure 2017-02-22 18:41:42 -05:00
dpcsup.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
linit.c scsi: aacraid: Added sysfs for driver version 2017-02-22 18:41:42 -05:00
Makefile [SCSI] aacraid: Add new code for PMC-Sierra's SRC based controller family 2011-03-23 11:36:58 -05:00
nark.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
rkt.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
rx.c scsi: aacraid: Fix camel case 2017-02-22 18:41:41 -05:00
sa.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
src.c scsi: aacraid: Fix sync fibs time out on controller reset 2017-02-22 18:41:42 -05:00
TODO