ping

On Thu, Oct 2, 2025 at 6:19 AM Michal Clapinski <[email protected]> wrote:
>
> 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 synchronous probing dax_pmem devices, so let's change that.
>
> Signed-off-by: Michal Clapinski <[email protected]>
> ---
>  drivers/dax/pmem.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/dax/pmem.c b/drivers/dax/pmem.c
> index bee93066a849..737654e8c5e8 100644
> --- a/drivers/dax/pmem.c
> +++ b/drivers/dax/pmem.c
> @@ -77,6 +77,7 @@ static struct nd_device_driver dax_pmem_driver = {
>         .probe = dax_pmem_probe,
>         .drv = {
>                 .name = "dax_pmem",
> +               .probe_type = PROBE_PREFER_ASYNCHRONOUS,
>         },
>         .type = ND_DRIVER_DAX_PMEM,
>  };
> --
> 2.51.0.618.g983fd99d29-goog
>

Reply via email to