[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: [dm-devel] Clariion CX600 automatic failback support
- From: Christophe Varoqui <christophe varoqui free fr>
- To: device-mapper development <dm-devel redhat com>
- Subject: RE: [dm-devel] Clariion CX600 automatic failback support
- Date: Fri, 04 Nov 2005 21:55:20 +0100
> > Yes, the test to determine if a switch is needed is sub-optimal :
> > The no activated PG case (all Enabled for exampleÃ) keeps
> > triggering a switch.
> > I checked-in a patch to solve that issue.
>
> I've dealt with this problem by patching the device mapper
> multipath driver in the kernel.
>
> The patch below patches drivers/md/dm-mpath.c:multipath_status()
> to return an active state for a path group which is either the
> current path group or setup to be the next path group instead
> of just returning an active state for a path group which is
> currently active.
>
Right, it deserved to be done.
I'm inclined to keep the tools patch anyway : it wastes an "int" per
multipath but is brain-friendlier (as it avoids using mpp->nextpg to
represent the current setting *and* the best-rated setting).
Are interested parties ok with that ?
Regards,
cvaroqui
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]