Răsfoiți Sursa

quorum: extend initialize man page

add QUORUM_FREE/QUORUM_SET and fix a typo

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Fabio M. Di Nitto 14 ani în urmă
părinte
comite
9512968be9
1 a modificat fișierele cu 23 adăugiri și 1 ștergeri
  1. 23 1
      man/quorum_initialize.3

+ 23 - 1
man/quorum_initialize.3

@@ -51,7 +51,7 @@ argument to uniquely identify the connection.  The
 argument is then used in other function calls to identify the connection to be used
 for communication with the quorum service.
 .PP
-Every time the voting configuraton changes (eg a node joins or leave the cluster) or the quorum status chnage,
+Every time the voting configuraton changes (eg a node joins or leave the cluster) or the quorum status change,
 the callback is called.
 The callback function is described by the following type definitions:
 
@@ -86,6 +86,28 @@ typedef struct {
 .RE
 .IP
 .PP
+The
+.I quorum_type
+argument is set to:
+.IP
+.RS
+.ne 18
+.nf
+.PP
+#define QUORUM_FREE     0
+#define QUORUM_SET      1
+
+.ta
+.fi
+.RE
+.IP
+.PP
+.I QUORUM_FREE
+value means that no quorum algorithm is loaded and that no callbacks will take place.
+.PP
+.I QUORUM_SET
+value means that one quorum algorithm is configured and that callbacks will take place.
+.PP
 When a configuration change occurs, the callback
 is called from the
 .B quorum_dispatch()