Whamcloud - gitweb
LUDOC-297 protocol: Update protocol document
[doc/protocol.git] / ost_setattr.txt
index 6b91639..b282e00 100644 (file)
@@ -4,23 +4,37 @@ RPC 2: OST_SETATTR
 
 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]
+.OST_SETATTR Request Packet Structure
+image::ost-setattr-request.png["OST_SETATTR Request Packet Structure",height=50]
 
 //////////////////////////////////////////////////////////////////////
-The ost-setattr-generic.png diagram resembles this text art:
+The ost-setattr-request.png diagram resembles this text art:
 
        OST_SETATTR:
       --request-----------------
       | ptlrpc_body | ost_body |
       --------------------------
-      --reply-------------------
-      | ptlrpc_body | ost_body |
-      --------------------------
 //////////////////////////////////////////////////////////////////////
 
 include::struct_ptlrpc_body.txt[]
 
 include::struct_ost_body.txt[]
 
+.OST_SETATTR Reply Packet Structure
+image::ost-setattr-reply.png["OST_SETATTR Reply Packet Structure",height=50]
+
+//////////////////////////////////////////////////////////////////////
+The ost-setattr-reply.png diagram resembles this text art:
+
+       OST_SETATTR:
+      --reply-------------------
+      | ptlrpc_body | ost_body |
+      --------------------------
+//////////////////////////////////////////////////////////////////////
+
+'ptlrpc_body'::
+RPC descriptor. See <<struct-ptlrpc-body>>.
+
+'ost_body'::
+Metadata about the resource. See <struct-ost-body>>.