The Linux 7.4-rc4 kernel is set to be released soon, featuring multiple fixes and performance enhancements. Among these, the NVMe namespace performance optimization introduces a parallel deletion feature that partitions NVMe storage devices into multiple logically isolated storage volumes, making it suitable for scenarios such as multi-tenancy, workload isolation, and security management. Previously, the kernel employed serial deletion logic, which could easily become a performance bottleneck in complex server deployments. Engineer Qiliang Yuan submitted a patch that references the asynchronous scheme used for parallel namespace addition, switching to asynchronous parallel deletion and leveraging the system-wide RCU grace period to allow multiple deletion operations to share the same waiting cycle, significantly reducing deletion time in multi-namespace scenarios.
