Whamcloud - gitweb
LUDOC-296 protocol: Rearrange presentation to be more top-down
[doc/protocol.git] / struct_ost_body.txt
similarity index 96%
rename from ost_setattr_structs.txt
rename to struct_ost_body.txt
index 022500d..1104247 100644 (file)
@@ -1,14 +1,11 @@
-OST_SETATTR Structures
-~~~~~~~~~~~~~~~~~~~~~~
-[[ost-setattr]]
-
 OST Body
 ^^^^^^^^
 [[struct-ost-body]]
 
-The 'ost_body' structure just hold a 'struct 'obdo', which is where
+The 'ost_body' structure just holds a 'struct 'obdo', which is where
 all the actual information is conveyed.
 
+[source,c]
 ----
 struct ost_body {
         struct  obdo oa;
@@ -21,6 +18,7 @@ Obdo
 
 The 'obdo' structure conveys metadata about a resource on an OST.
 
+[source,c]
 ----
 struct obdo {
        __u64                   o_valid;
@@ -58,6 +56,7 @@ The 'o_valid' field identifies which other fields in the structure are
 to be interpreted. The flags are the same set (with additions) used
 for the 'mdt_body' field 'mbo_valid' (see <<struct-mdt-body>>).
 
+[source,c]
 ----
 #define OBD_MD_FLID        (0x00000001ULL)
 #define OBD_MD_FLATIME     (0x00000002ULL)