]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] aacraid: Fix for arrays are going offline in the system. System hangs
authorMahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com>
Tue, 18 Jun 2013 11:32:07 +0000 (17:02 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 27 Jun 2013 01:01:42 +0000 (18:01 -0700)
commitf01839dad4a13e77d78d72eec384bb9a4f2d7a8c
tree1d8bb0abb290d0e8fc4138806a4da39dffae1472
parent2fdee977c7b4b8f4e06a71fb3b4bead8ff11ce62
[SCSI] aacraid: Fix for arrays are going offline in the system. System hangs

One of the customer had reported that the set of raid logical arrays will
become unavailable (I/O offline) after a long hours of IO stress test.  The OS
wouldn`t be accessible afterwards and require a hard reset.

This driver patch has a fix for race condition between the doorbell and the
circular buffer. The driver is modified to do an extra read after clearing the
doorbell in case there had been a completion posted during the small timing
window.

With this fix, we ran IO stress for ~13 days. There were no IO failures.

Signed-off-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/aacraid/src.c