[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] RE: patch to get_refwwid() inmultipath-tools/libmultipath/configure.c



I messed up the patch a bit.  Apparently dm_get_uuid() can
return a zero without actually having found a dm name which
matches the name parameter.

Also, I changed dm_get_uuid() so it either returns 1 or a null
string in the uuid return parameter -- in 2 different cases 
it was doing neither.

The <dm_device_name> qualifier for the command line
"multipath -ll <dm device name>" can now accept up
to 3 different names for the same dm mapped device,
that is, a user friendly name, an alias in
/etc/multipath.conf, and the current name as
reported by "dmsetup ls".  Is this OK or should
we enforce that only the current name as reported
by "dmsetup ls" is acceptable if the mapped device
already exists? 

> -----Original Message-----
> From: Christophe Varoqui [mailto:christophe varoqui free fr] 
> Sent: Monday, November 13, 2006 6:00 PM
> To: goggin, edward
> Cc: dm-devel redhat com; dave wysochanski redhat com
> Subject: Re: patch to get_refwwid() 
> inmultipath-tools/libmultipath/configure.c
> 
> Le lundi 13 novembre 2006 à 17:32 -0500, Edward Goggin a écrit :
> > Christophe,
> > 
> > This patch enables "multipath -l <dm device name>"
> > to work if the current dm_alias has been changed by
> > "dmsetup rename" or other means.
> > 
> Nice to have. Merged localy. 
> 
> My dev tree also has the "calc prio for down path" patch, so I'll push
> it to korg once David W. has further commented the change.
> 
> Regards,
> cvaroqui
> 
> 
> 

Attachment: configure.c.diff
Description: configure.c.diff

Attachment: devmapper.c.diff
Description: devmapper.c.diff


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]