Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scsi: mpi3mr: Make driver probing asynchronous

Speed up the boot process by using the asynchronous probing feature
supported by the kernel.

Set the PROBE_PREFER_ASYNCHRONOUS flag in the device_driver structure so
that the driver core probes in parallel.

Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://patch.msgid.link/20260130080207.90053-1-kanie@linux.alibaba.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Guixin Liu and committed by
Martin K. Petersen
21a16f0f f8ef4418

+4 -1
+4 -1
drivers/scsi/mpi3mr/mpi3mr_os.c
··· 6079 6079 .remove = mpi3mr_remove, 6080 6080 .shutdown = mpi3mr_shutdown, 6081 6081 .err_handler = &mpi3mr_err_handler, 6082 - .driver.pm = &mpi3mr_pm_ops, 6082 + .driver = { 6083 + .probe_type = PROBE_PREFER_ASYNCHRONOUS, 6084 + .pm = &mpi3mr_pm_ops, 6085 + }, 6083 6086 }; 6084 6087 6085 6088 static ssize_t event_counter_show(struct device_driver *dd, char *buf)