From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xose Vazquez Perez Subject: Re: [PATCHv2] Fill NVMe specific path info Date: Wed, 13 Sep 2017 18:14:35 +0200 Message-ID: <1f1da15e-17eb-b464-0312-93436cf07725@gmail.com> References: <1487715151-1179-1-git-send-email-keith.busch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1487715151-1179-1-git-send-email-keith.busch@intel.com> Content-Language: en-GB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Keith Busch , dm-devel@redhat.com List-Id: dm-devel.ids 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.