Whamcloud - gitweb
LUDOC-296 protocol: Rearrange presentation to be more top-down
[doc/protocol.git] / struct_mdt_rec_reint.txt
similarity index 98%
rename from mdt_rec_reint.txt
rename to struct_mdt_rec_reint.txt
index c099e13..c9780f8 100644 (file)
@@ -1,5 +1,6 @@
 Generic MDS_REINT
 ^^^^^^^^^^^^^^^^^
+[[struct-mdt-rec-reint]]
 
 An 'mdt_rec_reint' structure specifies the generic form for MDS_REINT
 requests. Each sub-operation, as defned by the 'rr_opcode' field, has
@@ -9,6 +10,7 @@ differently.  Note that in order for swabbing to take place correctly
 the sequence of field sizes must the same in every variant as it is in
 the generic version (not just the overal size of the sturcture).
 
+[source,c]
 ----
 struct mdt_rec_reint {
        __u32           rr_opcode;
@@ -40,6 +42,7 @@ struct mdt_rec_reint {
 The 'rr_opcode' field defines one among the several sub-commands for
 MDS REINT RPCs. Those opcodes are:
 
+[source,c]
 ----
 typedef enum {
   REINT_SETATTR  = 1,
@@ -88,6 +91,7 @@ attribute.
 The 'rr_bias' field adds additional optional information to the
 REINT. The possible values are:
 
+[source,c]
 ----
 enum mds_op_bias {
        MDS_CHECK_SPLIT         = 1 << 0,