Whamcloud - gitweb
LUDOC-296 protocol: Rearrange presentation to be more top-down
[doc/protocol.git] / ost_setattr.txt
index 520df6a..6b91639 100644 (file)
@@ -1,8 +1,8 @@
-Command 2: OST_SETATTR
-~~~~~~~~~~~~~~~~~~~~~~
+RPC 2: OST_SETATTR
+~~~~~~~~~~~~~~~~~~
 [[ost-setattr-rpc]]
 
-An RPC that sets resource attributes.
+OST_SETATTR (pb_opc = 2) is an RPC that sets resource attributes.
 
 .OST_SETATTR Generic Packet Structure
 image::ost-setattr-generic.png["OST_SETATTR Generic Packet Structure",height=100]
@@ -19,9 +19,8 @@ The ost-setattr-generic.png diagram resembles this text art:
       --------------------------
 //////////////////////////////////////////////////////////////////////
 
-'ptlrpc_body'::
-RPC descriptor.
+include::struct_ptlrpc_body.txt[]
+
+include::struct_ost_body.txt[]
 
-'ost_body'::
-Metadata about the resource, as it appears on the OST.