Applied. Thanks. On Thu, Feb 27, 2014 at 4:14 AM, Vaughan Cao <vaughan.cao@xxxxxxxxxx> wrote: > Multipath works at the request level and NVMe bypasses the request layer. So > multipath is not going to be supported for NVMe devices. Add NVMe to default > blacklist. > > Signed-off-by: Vaughan Cao <vaughan.cao@xxxxxxxxxx> > --- > libmultipath/blacklist.c | 6 ++++++ > multipath.conf.defaults | 1 + > 2 files changed, 7 insertions(+) > > diff --git a/libmultipath/blacklist.c b/libmultipath/blacklist.c > index 79ddcde..651bd7e 100644 > --- a/libmultipath/blacklist.c > +++ b/libmultipath/blacklist.c > @@ -176,6 +176,12 @@ setup_default_blist (struct config * conf) > if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT)) > return 1; > > + str = STRDUP("^nvme.*"); > + if (!str) > + return 1; > + if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT)) > + return 1; > + > str = STRDUP("(ID_SCSI_VPD|ID_WWN)"); > if (!str) > return 1; > diff --git a/multipath.conf.defaults b/multipath.conf.defaults > index e761902..12fb3f0 100644 > --- a/multipath.conf.defaults > +++ b/multipath.conf.defaults > @@ -31,6 +31,7 @@ > # devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*" > # devnode "^hd[a-z]" > # devnode "^dcssblk[0-9]*" > +# devnode "^nvme.*" > # device { > # vendor "DGC" > # product "LUNZ" > -- > 1.8.3.1 > -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel