[Drbd-dev] PATCH: Missing state change netlink events

Graham, Simon Simon.Graham at stratus.com
Tue Nov 6 13:41:34 CET 2007

> > I think the fix is simple - modify the code so that after_state_ch
> > broadcasts the new state rather than the current state (patch
> attached)
> > - I would have removed the passing of mdev completely from
> > drbd_bcast_state() if it weren't for the fact it is required by the
> > generated to_tags function. I'm testing this at the moment but it's
> > little hard to be sure it's right since this requires fairly tight
> > timing.
> >
> Hi Simon,
> You are right. Obviously.
> I have put it into GIT.

Actually, this patch wasn't quite complete -- there were a couple of
places where the wrong new state was broadcast (where ScheduleAfter was
_not_ set in the call to _drbd_set_state). Patch attached.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ava-3847.patch
Type: application/octet-stream
Size: 654 bytes
Desc: ava-3847.patch
Url : http://lists.linbit.com/pipermail/drbd-dev/attachments/20071106/8cb95dee/ava-3847.obj

More information about the drbd-dev mailing list