OSDN Git Service

scsi: ibmvfc: Do not wait for initial device scan
authorHannes Reinecke <hare@suse.com>
Tue, 17 Aug 2021 07:53:06 +0000 (09:53 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 18 Aug 2021 02:28:40 +0000 (22:28 -0400)
commit7a3795f28795e5bdc71498728bdfe4f921ce6c27
treeb6b6d93ecbb592718b5f305b1e3c4783865daf0e
parent0394b5048efd73b04276979d014a67f30c0ad699
scsi: ibmvfc: Do not wait for initial device scan

The initial device scan might take some time, and there really is no need
to wait for it during probe().  So return immediately from scsi_scan_host()
during probe() and avoid any udev stalls during booting.

Link: https://lore.kernel.org/r/20210817075306.11315-1-mwilck@suse.com
Acked-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin Wilck <mwilck@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ibmvscsi/ibmvfc.c
drivers/scsi/ibmvscsi/ibmvfc.h