[dm-devel] [PATCH] update HPE MSA builtin config
Martin Wilck
martin.wilck at suse.com
Mon May 2 10:31:36 UTC 2022
On Fri, 2022-04-29 at 17:09 -0500, Benjamin Marzinski wrote:
> Make the config better align to MSA 4th, 5th and 6th Generation
> systems.
>
> Suggested-by: Jon Paul <Jon.Paul at hpe.com>
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
> ---
> libmultipath/hwtable.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> index 0e1c0a41..0f0795c3 100644
> --- a/libmultipath/hwtable.c
> +++ b/libmultipath/hwtable.c
> @@ -182,8 +182,8 @@ static struct hwentry default_hw[] = {
> },
> {
> /* MSA 1040, 1050, 1060, 2040, 2050 and 2060 families
> */
> - .vendor = "HP",
> - .product = "MSA [12]0[456]0 SA[NS]",
> + .vendor = "(HP|HPE)",
This changes nothing unless you use "^(HP|HPE)$", as our regex matching
is by substring.
Regards,
Martin
> + .product = "MSA [12]0[456]0
> (SAN|SAS|FC|iSCSI)",
> .pgpolicy = GROUP_BY_PRIO,
> .pgfailback = -FAILBACK_IMMEDIATE,
> .no_path_retry = 18,
More information about the dm-devel
mailing list