Message ID | 1461755458-29225-42-git-send-email-hare@suse.de (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/multipathd/main.c b/multipathd/main.c index c1b94bd..c56672a 100644 --- a/multipathd/main.c +++ b/multipathd/main.c @@ -560,7 +560,7 @@ ev_add_path (struct path * pp, struct vectors * vecs) pp->mpp = mpp; rescan: if (mpp) { - if (mpp->size != pp->size) { + if (pp->size && mpp->size != pp->size) { condlog(0, "%s: failed to add new path %s, " "device size mismatch", mpp->alias, pp->dev);
Paths in ALUA 'standby' state are not required to support READ CAPACITY, and hence might report a size of '0'. However, they are valid devices and should be added to the existing topology. Signed-off-by: Hannes Reinecke <hare@suse.de> --- multipathd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)