[PATCHv2] nvme: generate uevent once a multipath namespace is operational again
Hannes Reinecke
hare at suse.de
Tue May 11 22:24:44 PDT 2021
On 5/11/21 6:19 PM, Christoph Hellwig wrote:
> On Tue, May 11, 2021 at 10:03:08AM +0200, Hannes Reinecke wrote:
>> In an all paths down scenario I/O will be requeued or aborted, so no
>> further I/O will be ongoing on this namespace.
>> This leaves upper layers like MD unable to determine if the namespace
>> becomes operational again after a successful controller reset.
>> This patch will send an uevent per multipathed namespace once the
>> underlying controller is LIVE, allowing MD to start resync.
>
> Can you please also add a comment why we are sending the event?
>
You mean, why sending KOBJ_CHANGE and not KOBJ_ADD?
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
More information about the Linux-nvme
mailing list