summaryrefslogtreecommitdiff
path: root/drivers/scsi/storvsc_drv.c
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2018-06-05 23:37:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-03 14:02:28 +0300
commitaf0a5646cb8d03f33ef028eff5b92996e53da201 (patch)
tree26960cc1640ecb7d006d0032e277b0674efa1d55 /drivers/scsi/storvsc_drv.c
parent2e08b1dbbc3aa50cdbf975633459e8fa2660fd2e (diff)
downloadlinux-af0a5646cb8d03f33ef028eff5b92996e53da201.tar.xz
use the new async probing feature for the hyperv drivers
Recent kernels support asynchronous probing; most hyperv drivers can be probed async easily so set the required flag for this. Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/storvsc_drv.c')
-rw-r--r--drivers/scsi/storvsc_drv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index 33a4a4dad324..f03dc03a42c3 100644
--- a/drivers/scsi/storvsc_drv.c
+++ b/drivers/scsi/storvsc_drv.c
@@ -1935,6 +1935,9 @@ static struct hv_driver storvsc_drv = {
.id_table = id_table,
.probe = storvsc_probe,
.remove = storvsc_remove,
+ .driver = {
+ .probe_type = PROBE_PREFER_ASYNCHRONOUS,
+ },
};
#if IS_ENABLED(CONFIG_SCSI_FC_ATTRS)