summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_scan.c
diff options
context:
space:
mode:
authorBen Collins <bcollins@ubuntu.com>2012-06-11 14:44:44 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-07-20 08:58:44 +0100
commit30002f1c02ada69342443e7ed5ee9118feb89510 (patch)
tree369369427cbbfd3b1bdeabd7aa7ed8355f1e53e9 /drivers/scsi/scsi_scan.c
parent361ee9c3f3839d6cbd306b5bd34292e0848ecfdc (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>
Diffstat (limited to 'drivers/scsi/scsi_scan.c')
0 files changed, 0 insertions, 0 deletions