From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Busch Subject: [PATCH 1/2] Don't blacklist nvme Date: Tue, 14 Feb 2017 16:19:13 -0500 Message-ID: <1487107154-24883-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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Christophe Varoqui , dm-devel@redhat.com Cc: Keith Busch List-Id: dm-devel.ids These devices are mulitpath capable, and have been able to stack with dm-mpath since kernel 4.2. Signed-off-by: Keith Busch --- libmultipath/blacklist.c | 2 +- multipath/multipath.conf.5 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libmultipath/blacklist.c b/libmultipath/blacklist.c index 36af282..ee396e2 100644 --- a/libmultipath/blacklist.c +++ b/libmultipath/blacklist.c @@ -169,7 +169,7 @@ setup_default_blist (struct config * conf) char * str; int i; - str = STRDUP("^(ram|raw|loop|fd|md|dm-|sr|scd|st|dcssblk|nvme)[0-9]"); + str = STRDUP("^(ram|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 7de8bc7..d6c6c52 100644 --- a/multipath/multipath.conf.5 +++ b/multipath/multipath.conf.5 @@ -943,7 +943,7 @@ The following keywords are recognized: Regular expression of the device nodes to be excluded. .RS .TP -The default is: \fB^(ram|raw|loop|fd|md|dm-|sr|scd|st|dcssblk|nvme)[0-9]\fR and \fB^(td|hd|vd)[a-z]\fR +The default is: \fB^(ram|raw|loop|fd|md|dm-|sr|scd|st|dcssblk)[0-9]\fR and \fB^(td|hd|vd)[a-z]\fR .RE .TP .B wwid -- 2.5.5