Whamcloud - gitweb
LUDOC-298 protocl: Editorial pass through the document.
[doc/protocol.git] / struct_mdt_rec_reint.txt
index 09c691a..2a443e1 100644 (file)
@@ -40,26 +40,9 @@ struct mdt_rec_reint {
 ----
 
 The 'rr_opcode' field defines one among the several sub-commands for
-MDS REINT RPCs. Those opcodes are:
-
-.MDS Reint Type
-****
-[source,c]
-----
-typedef enum {
-  REINT_SETATTR  = 1,
-  REINT_CREATE   = 2,
-  REINT_LINK     = 3,
-  REINT_UNLINK   = 4,
-  REINT_RENAME   = 5,
-  REINT_OPEN     = 6,
-  REINT_SETXATTR = 7,
-} mds_reint_t;
-----
-****
-
-Based on that opcode one of the variants of the structure will
-actually be used. See <<mds-reint-setattr-rpc>> for one example.
+MDS REINT RPCs. See the list above.  Based on that opcode one of the
+variants of the structure will actually be used. See
+<<mds-reint-setattr-rpc>> for one example.
 
 The 'rr_cap' field is not used (and has been dropped in more recent
 code updates).
@@ -71,9 +54,6 @@ point UID in an environment where UIDs are 64-bit. The same holds for
 the other '_h' fields.
 
 The 'rr_fsgid' field gives the GID of the file system mount point.
-For each opcode there is a variant of the 'mdt_rec_reint' that has
-identical byte fields, but slightly modified semantics. The following
-is for the REINT_SETATTR sub-operation.
 
 The 'rr_suppgid1' and 'rr_suppgid2' fields are supplementary GID
 information for kernels that have it.
@@ -82,8 +62,8 @@ The 'rr_fid1' and 'rr_fid2' fields specify the FIDs (See
 <<struct-lu-fid>>) for the resources being operated upon. If only one
 resource is being acted upon then 'rr_fid2' is not used.
 
-The 'rr_mtime' 'rr_atime' and 'rr_ctime' fields give the object
-timestamps in seconds for the last modification time, the last
+The 'rr_mtime', 'rr_atime', and 'rr_ctime' fields give the object
+timestamps in microseconds for the last modification time, the last
 access time, and the last metadata change time, respectively.
 
 The 'rr_size' field gives the value of the size attribute.