aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShivasharan S <[email protected]>2018-10-16 23:37:41 -0700
committerMartin K. Petersen <[email protected]>2018-11-06 20:33:56 -0500
commit9155cf30a3c4ef97e225d6daddf9bd4b173267e8 (patch)
treeda7b607c87add35fccc1b768734305b2708c50e1 /include
parentf0c21df6528601f5f43b449d08faf1bed6858df6 (diff)
scsi: megaraid_sas: Fix msleep granularity
In megasas_transition_to_ready() driver waits 180seconds for controller to change FW state. Here we are calling msleep(1) in a loop for this. As explained in timers-howto.txt, msleep(1) will actually sleep longer than 1ms. If a faulty controller is connected, we will end up waiting for much more than 180 seconds causing unnecessary delays during load. Change the granularity of msleep() call from 1ms to 1000ms. Signed-off-by: Shivasharan S <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions