Re: [PATCH] nvme_core: scan namespaces asynchronously

From: Chaitanya Kulkarni
Date: Thu Jan 04 2024 - 18:06:34 EST


On 1/4/2024 8:38 AM, Stuart Hayes wrote:
> Currently NVME namespaces are scanned serially, so it can take a long time
> for all of a controller's namespaces to become available, especially with a
> slower (fabrics) interface with large number (~1000) of namespaces.
>
> Use async function calls to make namespace scanning happen in parallel,
> and add a (boolean) module parameter "async_ns_scan" to enable this.
>
> Signed-off-by: Stuart Hayes <stuart.w.hayes@xxxxxxxxx>
>

please update commit log with detailed setup information and
% time saved to make everyone else review it quickly ...

-ck