Merge tag 'docs/v5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[sfrench/cifs-2.6.git] / Documentation / admin-guide / blockdev / drbd / node-states-8.dot
diff --git a/Documentation/admin-guide/blockdev/drbd/node-states-8.dot b/Documentation/admin-guide/blockdev/drbd/node-states-8.dot
new file mode 100644 (file)
index 0000000..bfa54e1
--- /dev/null
@@ -0,0 +1,13 @@
+digraph node_states {
+       Secondary -> Primary           [ label = "ioctl_set_state()" ]
+       Primary   -> Secondary         [ label = "ioctl_set_state()" ]
+}
+
+digraph peer_states {
+       Secondary -> Primary           [ label = "recv state packet" ]
+       Primary   -> Secondary         [ label = "recv state packet" ]
+       Primary   -> Unknown           [ label = "connection lost" ]
+       Secondary  -> Unknown          [ label = "connection lost" ]
+       Unknown   -> Primary           [ label = "connected" ]
+       Unknown   -> Secondary         [ label = "connected" ]
+}