On 02/21/2017 11:12 PM, Keith Busch wrote:

> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> index f5a5f7b..8409261 100644
> --- a/libmultipath/hwtable.c
> +++ b/libmultipath/hwtable.c
> @@ -1073,6 +1073,16 @@ static struct hwentry default_hw[] = {
>               .prio_name     = PRIO_ALUA,
>               .no_path_retry = 30,
>       },
> +     /*
> +      * Generic NVMe devices
> +      */
> +     {
> +             .vendor        = "NVME",
> +             .product       = ".*",
> +             .uid_attribute = "ID_WWN",
> +             .checker_name  = DIRECTIO,
> +             .retain_hwhandler = RETAIN_HWHANDLER_OFF,
> +     },

Try #2.

"NVME" is a too generic regex, could it be replaced by "^NVME" and a "product 
name"?

Thanks.

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

Reply via email to