]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
mpath: Update path in CheckPool function
authorJohn Ferlan <jferlan@redhat.com>
Wed, 24 Jun 2015 11:46:47 +0000 (07:46 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 30 Jun 2015 12:47:02 +0000 (08:47 -0400)
commitdbad00189958db304295519842b28342a005a3bc
tree2ff39c0b0ef0320023dc2c5f449ecf8ac2548973
parentc79ebf53b5fe0a33bf407b3bcb49e3a27ec97eb4
mpath: Update path in CheckPool function

https://bugzilla.redhat.com/show_bug.cgi?id=1230664

Per the devmapper docs, use "/dev/mapper" or "/dev/dm-n" in order to
determine if a device is under control of DM Multipath.

So add "/dev/mapper" to the virFileExists, leaving the "/dev/mpath"
as a "legacy" option since it appears for a while it was the preferred
mechanism, but is no longer maintained
src/storage/storage_backend_mpath.c