Whamcloud - gitweb
LUDOC-297 protocol: Update protocol document
[doc/protocol.git] / mds_statfs.txt
index 5b8263f..2526f4e 100644 (file)
@@ -11,22 +11,33 @@ OST).  An MDT will send regular OST_STATFS RPCs to each OST in order
 to keep its information about free space and utilization updated.
 That allows the MDS to make more optimal file allocation decisions.
 
-.MDS_STATFS Generic Packet Structure
-image::mds-statfs-generic.png["MDS_STATFS Generic Packet Structure",height=100]
+.MDS_STATFS Request Packet Structure
+image::mds-statfs-request.png["MDS_STATFS Request Packet Structure",height=50]
 
 //////////////////////////////////////////////////////////////////////
-The mds-statfs-generic.png diagram resembles this text art:
+The mds-statfs-request.png diagram resembles this text art:
 
        MDS_STATFS:
       --request------
       | ptlrpc_body |
       ---------------
+//////////////////////////////////////////////////////////////////////
+
+'ptlrpc_body':: RPC descriptor. See <<struct-ptlrpc-body>>.
+
+.MDS_STATFS Reply Packet Structure
+image::mds-statfs-reply.png["MDS_STATFS Reply Packet Structure",height=50]
+
+//////////////////////////////////////////////////////////////////////
+The mds-statfs-reply.png diagram resembles this text art:
+
+       MDS_STATFS:
       --reply---------------------
       | ptlrpc_body | obd_statfs |
       ----------------------------
 //////////////////////////////////////////////////////////////////////
 
-'ptlrpc_body':: RPC descriptor. See <<ptlrpc_body>>.
+'ptlrpc_body':: RPC descriptor. See <<struct-ptlrpc-body>>.
 
 'obd_statfs':: Statfs information about the target. See
-<struct-obd-statfs>>.
+<<struct-obd-statfs>>.