[Drbd-dev] Question regarding usermode_helper and lack of {before|after}_resync_source

Iustin Pop iustin at google.com
Mon May 10 17:30:12 CEST 2010


Hi all,

I'm curious if there is a reason why there is before_resync_target but
not before_resync_source. Probably the rationale is that noone needed it
before :)

Background: the current capabilities to configure resync order or number
of resyncs per machine is doable either via manual pause-sync actions,
or via the syncer's '--after' parameter. However, in environment where
this is dynamic, it's hard to create a static map, and it would be
useful to have such a before_resync_source action that the helper can
act on - e.g. to pause the minor, to set its sync speed based on current
machine status, etc.

So… would it make sense to send a patch adding these two actions
(before/after)?

thanks,
iustin


More information about the drbd-dev mailing list