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

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

 



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@xxxxxxxxx> 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@xxxxxxxxxx>
> ---
>  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 "*" ?

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux