[dm-devel] [PATCH 10/15] multipath: blacklist virtio-blk devices

Christophe Varoqui christophe.varoqui at opensvc.com
Sun Mar 8 10:33:38 UTC 2015


Hi Xose,

it sure wouldn't hurt, be as there is no trailing "$" I guess the pattern
does its job as-is.
Please let me know if I'm reading this wrong.

Best regards,
Christophe Varoqui
OpenSVC

On Sun, Mar 8, 2015 at 11:24 AM, Xose Vazquez Perez <xose.vazquez at gmail.com>
wrote:

> Benjamin Marzinski wrote:
>
> > virtio-blk devices don't report anything to use as a WWID, so
> > multipath shouldn't waste it's time checking them.
> >
> > Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
> > ---
> >  libmultipath/blacklist.c | 2 +-
> >  multipath.conf.defaults  | 2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/libmultipath/blacklist.c b/libmultipath/blacklist.c
> > index 05f1697..cea128c 100644
> > --- a/libmultipath/blacklist.c
> > +++ b/libmultipath/blacklist.c
> > @@ -178,7 +178,7 @@ setup_default_blist (struct config * conf)
> >       if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT))
> >               return 1;
> >
> > -     str = STRDUP("^(td|hd)[a-z]");
> > +     str = STRDUP("^(td|hd|vd)[a-z]");
>                                       ^
>                                       Missing "*" ?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20150308/df261f00/attachment.htm>


More information about the dm-devel mailing list