[dm-devel] [PATCHv2] Fill NVMe specific path info
Xose Vazquez Perez
xose.vazquez at gmail.com
Wed Sep 13 16:14:35 UTC 2017
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,
> + },
"NVME" is a too generic regex, could it be replaced by "^NVME" ?
Thanks.
More information about the dm-devel
mailing list