[Drbd-dev] [PATCH] drbdadm: Fix handler called from kernel always invalid for stacking resource

Lars Ellenberg lars.ellenberg at linbit.com
Tue Jul 18 10:22:34 CEST 2017


On Tue, Jul 18, 2017 at 11:16:15AM +0800, Nick Wang wrote:
>Handler like "before-resync-target" called from kernel
>space does not have "-S" option for stacking resource, it
>always return as invalid usage for stacking resource in
>normal mode, then the connection will be dropped. Add "-S"
>option for stacking resource automatically if the handler
>is called from kernel.

I think the intention was to no longer have stacked with 9,
stacked was a kludge anyways, because that was the only way
to add additional nodes with a two-node only replication.

That we did not patch it out was probably just being lazy.


-- 
: Lars Ellenberg
: LINBIT | Keeping the Digital World Running
: DRBD -- Heartbeat -- Corosync -- Pacemaker
: R&D, Integration, Ops, Consulting, Support

DRBD® and LINBIT® are registered trademarks of LINBIT


More information about the drbd-dev mailing list