[dm-devel] [PATCH 1/1] multipath-tools: Skip CHANGE uevent for non-mpath devices

Martin Wilck mwilck at suse.com
Fri Oct 6 23:20:18 UTC 2017


On Fri, 2017-10-06 at 13:32 -0700, Ritika Srivastava wrote:
> On removal of lv device snapshot using lvremove, CHANGE uevent and
> REMOVE uevent is generated for the dm device.
> When multipath tries to process the CHANGE uevent, it is not able to
> find the dm/map name and
> returns 1 due to which the following error is printed
> "uevent trigger error"
> This scenario is not actually an error and is misleading.
> 
> To fix it, the proposal is to only process the change uevent in
> multipath for a multipath device.
> 
> Signed-off-by: Ritika Srivastava <ritika.srivastava at oracle.com>

OK, but IMO it could be done more nicely. I'll post an alternative
patch soon.

Regards,
Martin

-- 
Dr. Martin Wilck <mwilck at suse.com>, Tel. +49 (0)911 74053 2107
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)




More information about the dm-devel mailing list