[PATCH 1/2] nvme: remove namespaces in parallel
Hannes Reinecke
hare at suse.de
Mon Nov 2 01:27:56 PST 2026
On 11/2/26 9:00 AM, Qiliang Yuan wrote:
> On Mon, 2 Nov 2026 08:26:57 +0100, Hannes Reinecke wrote:
>> On 11/2/26 7:14 AM, Qiliang Yuan wrote:
>>> nvme_remove_namespaces() removes the namespaces of a controller one
>>> after another. Each removal waits for RCU grace periods in
>>> del_gendisk() for the namespace and for its multipath head, about
>>> 20 ms in all.
>>>
>> But that isn't changed by calling async_schedule_domain, isn't it?
>
> Right, each removal still waits about 20 ms. What changes is that the
> waits overlap. A grace period is system-wide, so removals that wait at
> the same time are released by the same grace periods instead of each
> needing its own. Disconnect time over tcp, from the table in the
> patch:
>
So state that in the patch description.
That'll make it easier for people to understand.
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
More information about the Linux-nvme
mailing list