Whamcloud - gitweb
LUDOC-296 protocol: Rearrange presentation to be more top-down
[doc/protocol.git] / struct_layout_intent.txt
similarity index 96%
rename from layout_intent.txt
rename to struct_layout_intent.txt
index 9d75e47..3379232 100644 (file)
@@ -5,6 +5,7 @@ Layout Intent
 An LDLM_ENQUEUE RPC with a layout intent uses the 'layout_intent'
 structure to specify the desired use for the layout.
 
+[source,c]
 ----
 struct layout_intent {
        __u32 li_opc;
@@ -16,6 +17,7 @@ struct layout_intent {
 
 The uses for the layout that the 'li_opc' field can specify are:
 
+[source,c]
 ----
 enum {
         LAYOUT_INTENT_ACCESS    = 0,