linux/drivers/scsi/megaraid
Shivasharan S 9155cf30a3 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 <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-11-06 20:33:56 -05:00
..
Kconfig.megaraid
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mbox_defs.h
mega_common.h
megaraid_ioctl.h scsi: megaraid: Convert timers to use timer_setup() 2017-11-01 11:27:08 -07:00
megaraid_mbox.c scsi: megaraid_mbox: switch to generic DMA API 2018-10-17 21:58:52 -04:00
megaraid_mbox.h scsi: megaraid: fix spelling mistake "maibox" -> "mailbox" 2018-09-25 20:59:27 -04:00
megaraid_mm.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
megaraid_mm.h Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
megaraid_sas_base.c scsi: megaraid_sas: Fix msleep granularity 2018-11-06 20:33:56 -05:00
megaraid_sas_fp.c scsi: megaraid_sas: Update LD map after populating drv_map driver map copy 2018-01-10 23:25:17 -05:00
megaraid_sas_fusion.c scsi: megaraid_sas: Add support for FW snap dump 2018-11-06 20:33:56 -05:00
megaraid_sas_fusion.h scsi: megaraid_sas: Add support for FW snap dump 2018-11-06 20:33:56 -05:00
megaraid_sas.h scsi: megaraid_sas: Add support for FW snap dump 2018-11-06 20:33:56 -05:00