Whamcloud - gitweb
LUDOC-297 protocol: Update protocol document
[doc/protocol.git] / struct_mgs_config_body.txt
index ef03485..92857d7 100644 (file)
@@ -1,6 +1,6 @@
-MGS Configuration Data
-^^^^^^^^^^^^^^^^^^^^^^
-
+.MGS Configuration Data
+[[struct-mgs-config-body]]
+****
 [source,c]
 ----
 #define MTI_NAME_MAXLEN  64
@@ -22,19 +22,4 @@ contains the next record number in the configuration llog to process
 'mcb_bits' is the log2 of the units of minimum bulk transfer size,
 typically 4096 or 8192 bytes, while 'mcb_units' is the maximum number of
 2^mcb_bits sized units that can be transferred in a single request.
-
-[source,c]
-----
-struct mgs_config_res {
-        __u64    mcr_offset;    /* index of last config log */
-        __u64    mcr_size;      /* size of the log */
-};
-----
-
-The 'mgs_config_res' structure returns information describing the
-replied configuration llog data requested in 'mgs_config_body'.
-'mcr_offset' contains the last configuration record number returned
-by this reply.  'mcr_size' contains the maximum record index in the
-entire configuration llog.  When 'mcr_offset' equals 'mcr_size' there
-are no more records to process in the log.
-
+****