Re: [PATCH 1/2] nvme: remove namespaces in parallel
From: Hannes Reinecke
Date: Mon Nov 02 2026 - 04:33:25 EST
On 11/2/26 9:00 AM, Qiliang Yuan wrote:
On Mon, 2 Nov 2026 08:26:57 +0100, Hannes Reinecke wrote:So state that in the patch description.
On 11/2/26 7:14 AM, Qiliang Yuan wrote:
nvme_remove_namespaces() removes the namespaces of a controller oneBut that isn't changed by calling async_schedule_domain, isn't it?
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.
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:
That'll make it easier for people to understand.
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@xxxxxxx +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