[Drbd-dev] [DRBD-8.0 PATCH] Ensure that state updates cannot be done out of order whilst running receive_state

Graham, Simon Simon.Graham at stratus.com
Fri Jan 11 21:41:07 CET 2008

There have been a number of issues uncovered with race conditions during
receive_state plus the patch I submitted earlier that moves all
after_state_processing introduced one new one (since previously the
after_state_ch call was done inline in receive_state in the right place
and now it happens asynchronously). The attached patch addresses races
during receive_state by acquiring the data.mutex whilst receive_state is
running - this ensures that messages are sent to the peer in the right

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-Ensure-that-state-updates-cannot-be-done-out-of-orde.patch
Type: application/octet-stream
Size: 5515 bytes
Desc: 0010-Ensure-that-state-updates-cannot-be-done-out-of-orde.patch
Url : http://lists.linbit.com/pipermail/drbd-dev/attachments/20080111/c713d998/0010-Ensure-that-state-updates-cannot-be-done-out-of-orde.obj

More information about the drbd-dev mailing list