dm mpath: implement NVMe bio-based support
authorMike Snitzer <snitzer@redhat.com>
Tue, 5 Dec 2017 21:02:21 +0000 (16:02 -0500)
committerMike Snitzer <snitzer@redhat.com>
Fri, 5 Jan 2018 00:00:19 +0000 (19:00 -0500)
commitcd025384455715525a296e54999349e540850301
tree8466079fc3c5bcb4cfa69636efef8a7cd7db84b5
parent1836df0891423dcf2b68771e04b28e2208ee95f2
dm mpath: implement NVMe bio-based support

This DM multipath NVMe bio-based support requires CONFIG_NVME_MULTIPATH
to not be set.  In the future hopefully NVMe multipath and DM multipath
can co-exist more seemlessly.  But as is, if CONFIG_NVME_MULTIPATH=Y
then all the individal NVMe paths will remain hidden to upper layers and
as such DM multipath will not be able to manage them.

Though NVMe's native multipathing doesn't multipath namespaces across
subsystems; so technically a user _could_ use CONFIG_NVME_MULTIPATH=Y
and also use DM multipath to multipath across subsystems.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c