From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Wilck Subject: Re: [PATCH 2/4] multipath: blacklist zram devices Date: Fri, 08 Feb 2019 10:08:11 +0100 Message-ID: <1d708a7afff901708024c1c2acb956b073810fef.camel@suse.de> References: <20190207235302.21635-1-bmarzins@redhat.com> <20190207235302.21635-3-bmarzins@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20190207235302.21635-3-bmarzins@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Benjamin Marzinski , device-mapper development List-Id: dm-devel.ids On Thu, 2019-02-07 at 17:53 -0600, Benjamin Marzinski wrote: > Signed-off-by: Benjamin Marzinski > --- > libmultipath/blacklist.c | 2 +- > multipath/multipath.conf.5 | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Ack, but - how come that this device hadn't been auto-blacklisted by the "udev property missing" test? Martin > > diff --git a/libmultipath/blacklist.c b/libmultipath/blacklist.c > index 709895e..e0d0279 100644 > --- a/libmultipath/blacklist.c > +++ b/libmultipath/blacklist.c > @@ -192,7 +192,7 @@ setup_default_blist (struct config * conf) > char * str; > int i; > > - str = STRDUP("^(ram|raw|loop|fd|md|dm-|sr|scd|st|dcssblk)[0- > 9]"); > + str = STRDUP("^(ram|zram|raw|loop|fd|md|dm- > |sr|scd|st|dcssblk)[0-9]"); > if (!str) > return 1; > if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT)) > diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5 > index 88b8edd..0fe8461 100644 > --- a/multipath/multipath.conf.5 > +++ b/multipath/multipath.conf.5 > @@ -1218,7 +1218,7 @@ Regular expression matching the device nodes to > be excluded/included. > .RS > .PP > The default \fIblacklist\fR consists of the regular expressions > -"^(ram|raw|loop|fd|md|dm-|sr|scd|st|dcssblk)[0-9]" and > +"^(ram|zram|raw|loop|fd|md|dm-|sr|scd|st|dcssblk)[0-9]" and > "^(td|hd|vd)[a-z]". This causes virtual devices, non-disk devices, > and some other > device types to be excluded from multipath handling by default. > .RE