]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - Documentation/blockdev/drbd/conn-states-8.dot
The DRBD driver
[karo-tx-linux.git] / Documentation / blockdev / drbd / conn-states-8.dot
diff --git a/Documentation/blockdev/drbd/conn-states-8.dot b/Documentation/blockdev/drbd/conn-states-8.dot
new file mode 100644 (file)
index 0000000..025e8cf
--- /dev/null
@@ -0,0 +1,18 @@
+digraph conn_states {
+       StandAllone  -> WFConnection   [ label = "ioctl_set_net()" ]
+       WFConnection -> Unconnected    [ label = "unable to bind()" ]
+       WFConnection -> WFReportParams [ label = "in connect() after accept" ]
+       WFReportParams -> StandAllone  [ label = "checks in receive_param()" ]
+       WFReportParams -> Connected    [ label = "in receive_param()" ]
+       WFReportParams -> WFBitMapS    [ label = "sync_handshake()" ]
+       WFReportParams -> WFBitMapT    [ label = "sync_handshake()" ]
+       WFBitMapS -> SyncSource        [ label = "receive_bitmap()" ]
+       WFBitMapT -> SyncTarget        [ label = "receive_bitmap()" ]
+       SyncSource -> Connected
+       SyncTarget -> Connected
+       SyncSource -> PausedSyncS
+       SyncTarget -> PausedSyncT
+       PausedSyncS -> SyncSource
+       PausedSyncT -> SyncTarget
+       Connected   -> WFConnection    [ label = "* on network error" ]
+}