[PATCH] nvme_core: scan namespaces asynchronously

Chaitanya Kulkarni chaitanyak at nvidia.com
Thu Jan 4 15:06:22 PST 2024


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 at gmail.com>
> 

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

-ck




More information about the Linux-nvme mailing list