summaryrefslogtreecommitdiffstats
path: root/support/nfs/xlog.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-08-13 10:43:32 -0400
committerSteve Dickson <steved@redhat.com>2014-08-13 10:53:01 -0400
commit66b2df42911298c29c756d7b8cbdb7f6801264ed (patch)
tree8c1da806fba239ffc396668a834571b23d0d4edc /support/nfs/xlog.c
parent1df82a36df74a59f55eea99d08612564fa22cbef (diff)
downloadnfs-utils-66b2df42911298c29c756d7b8cbdb7f6801264ed.tar.gz
nfs-utils-66b2df42911298c29c756d7b8cbdb7f6801264ed.tar.xz
nfs-utils-66b2df42911298c29c756d7b8cbdb7f6801264ed.zip
blkmapd: fix broken multipath handling
We do want to use the dm-multipath device if it exists, which the code is generally prepared for, except that this check excludes them early. In addition this will also add the passive path to the device list, which is harmless if an active one exists as that or the multipath device will be preferred, and at least allows us to work if it doesn't. Also fix up the check if an path needs to be updated to remove the silly partition check - pNFS block offset are relative to the device so partion should never match it instead of the full device. On the other hand the simplistic check easily creates false positives, e.g. dm-10 is considered a partition of dm-1. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs/xlog.c')
0 files changed, 0 insertions, 0 deletions