[Drbd-dev] [DRBD 8.0 PATCH] Update state processing so that after-state-change is always done in worker thread

Graham, Simon Simon.Graham at stratus.com
Fri Jan 11 16:22:15 CET 2008


This patch updates the state processing so that the after state change
processing is always done on the worker thread - my main motivation for
this was to ensure that state change notifications are never re-ordered.


This also involves the following:
1. starting the worker thread is done inline in drbd_set_state
2. the worker will be started whenever it is needed rather than
   only when certain states are reached.
3. Marking the meta data dirty is done inline in drbd_set_state

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Update-state-processing-so-that-after-state-change-p.patch
Type: application/octet-stream
Size: 25868 bytes
Desc: 0003-Update-state-processing-so-that-after-state-change-p.patch
Url : http://lists.linbit.com/pipermail/drbd-dev/attachments/20080111/a6bdf7d3/0003-Update-state-processing-so-that-after-state-change-p-0001.obj


More information about the drbd-dev mailing list