commit | 30002f1c02ada69342443e7ed5ee9118feb89510 | [log] [tgz] |
---|---|---|
author | Ben Collins <bcollins@ubuntu.com> | Mon Jun 11 14:44:44 2012 -0400 |
committer | James Bottomley <JBottomley@Parallels.com> | Fri Jul 20 08:58:44 2012 +0100 |
tree | 369369427cbbfd3b1bdeabd7aa7ed8355f1e53e9 | |
parent | 361ee9c3f3839d6cbd306b5bd34292e0848ecfdc [diff] |
[SCSI] aacraid: Relax the tight timeout loop on fib commands The loop that waited for syncronous fib commands was causing a CPU stall when a timeout actually occured. 1) Switch to using a more accurate timeout mechanism. 2) Do not pace the loop with udelay(). Use cpu_relax() to allow for scheduling to occur. Signed-off-by: Ben Collins <bcollins@ubuntu.com> Acked-by: Achim Leubner <Achim_Leubner@pmc-sierra.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>