[dm-devel] Clariion CX600 automatic failback support

goggin, edward egoggin at emc.com
Thu Nov 3 18:16:32 UTC 2005


On Date: Thu, 3 Nov 2005 14:58:36 +0100
Christophe Varoqui <christophe.varoqui at free.fr> wrote

> > Once the distributors pick up both this single line change and the
> > change in hwtable.c, immediate path group failback for CLARiiON
> > will just work.
> > 
> > -------------------------------------------------------------------
> > diff --git a/multipathd/main.c b/multipathd/main.c
> > --- a/multipathd/main.c
> > +++ b/multipathd/main.c
> > @@ -146,6 +146,7 @@ adopt_paths (struct vectors * vecs, stru
> >  		if (!strncmp(mpp->wwid, pp->wwid, WWID_SIZE)) {
> >  			condlog(4, "%s ownership set", pp->dev_t);
> >  			pp->mpp = mpp;
> > +			mpp->hwe = pp->hwe;
> >  		}
> >  	}
> >  }
> > 
> Upstream has had a patch for that. It plug the mpp->hwe refresh in
> setup_multipath().
> 
> Can you check it has no regression wrt your suggested fix ?
> 
> Regards,
> cvaroqui

Looks good, except the call to extract_hwe_from_path in setup_multipath
must be before the call to select_pgfailback.




More information about the dm-devel mailing list