Comments in linux/device/driver.h say that the goal is to do async probing on all devices. The current behavior unnecessarily slows down the boot by synchronously probing dax devices, so let's change that.
For thousands of devices, this change saves >1s of boot time. Michal Clapinski (5): dax: add PROBE_PREFER_ASYNCHRONOUS to the pmem driver dax: add PROBE_PREFER_ASYNCHRONOUS to the kmem driver dax: add PROBE_PREFER_ASYNCHRONOUS to the cxl driver dax: add PROBE_PREFER_ASYNCHRONOUS to the hmem drivers dax: add PROBE_PREFER_ASYNCHRONOUS to the dax device driver drivers/dax/cxl.c | 1 + drivers/dax/device.c | 3 +++ drivers/dax/hmem/hmem.c | 2 ++ drivers/dax/kmem.c | 3 +++ drivers/dax/pmem.c | 1 + 5 files changed, 10 insertions(+) -- 2.51.1.821.gb6fe4d2222-goog

