]> www.infradead.org Git - users/jedix/linux-maple.git/commit
[SCSI] hpsa: dial down lockup detection during firmware flash
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Tue, 1 May 2012 16:43:42 +0000 (11:43 -0500)
committerJoe Jin <joe.jin@oracle.com>
Fri, 21 Dec 2012 03:18:27 +0000 (11:18 +0800)
commita171d976b376fdcba1439d6a790723ca1fc1d37e
tree691aa0dc31fe0aa120c058d360f5f42003f82ba0
parentcd9b88e8562180ad5a1fecb210d72281200f5347
[SCSI] hpsa: dial down lockup detection during firmware flash

Dial back the aggressiveness of the controller lockup detection thread.
Currently it will declare the controller to be locked up if it goes
for 10 seconds with no interrupts and no change in the heartbeat
register.  Dial back this to 30 seconds with no heartbeat change, and
also snoop the ioctl path and if a firmware flash command is detected,
dial it back further to 4 minutes until the firmware flash command
completes.  The reason for this is that during the firmware flash
operation, the controller apparently doesn't update the heartbeat
register as frequently as it is supposed to, and we can get a false
positive.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
(cherry picked from commit e85c59746957fd6e3595d02cf614370056b5816e)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h
drivers/scsi/hpsa_cmd.h