Whamcloud - gitweb
LUDOC-297 protocol: Update protocol document
[doc/protocol.git] / mds_getstatus.txt
index 43a31d7..f8d571f 100644 (file)
@@ -2,32 +2,48 @@ RPC 40: MDS GETSTATUS - get the status from a target
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 [[mds-getstatus-rpc]]
 
-.MDS_GETSTATUS Generic Packet Structure
-image::mds-getstatus-generic.png["MDS_GETSTATUS Generic Packet Structure",height=100]
+Get the attributes of the mountpoint of the file system.
+
+.MDS_GETSTATUS Request Packet Structure
+image::mds-getstatus-request.png["MDS_GETSTATUS Request Packet Structure",height=50]
 
 //////////////////////////////////////////////////////////////////////
-The mds-getstatus-generic.png diagram resembles this text art:
+The mds-getstatus-request.png diagram resembles this text art:
 
        MDS_GETSTATUS:
       --request-----------------
       | ptlrpc_body | mdt_body |
       --------------------------
+//////////////////////////////////////////////////////////////////////
+
+'ptlrpc_body'::
+RPC descriptor. See <<struct-ptlrpc-body>>.
+
+'mdt_body'::
+See <<struct-mdt-body>>.
+
+In the request message, the 'mdt_body' is normally empty.
+
+.MDS_GETSTATUS Reply Packet Structure
+image::mds-getstatus-reply.png["MDS_GETSTATUS Reply Packet Structure",height=50]
+
+//////////////////////////////////////////////////////////////////////
+The mds-getstatus-reply.png diagram resembles this text art:
+
+       MDS_GETSTATUS:
       --reply-------------------
       | ptlrpc_body | mdt_body |
       --------------------------
 //////////////////////////////////////////////////////////////////////
 
 'ptlrpc_body'::
-RPC descriptor. See <<struct-ptlrpc_body>>.
+RPC descriptor. See <<struct-ptlrpc-body>>.
 
 'mdt_body'::
 See <<struct-mdt-body>>.
 
-In the request message, the 'mdt_body' is normally empty.
-
 In the reply message, the 'mdt_body' contains only the FID of the
 filesystem ROOT in 'mbo_fid1'.  The client can then use the returned
 FID to fetch inode attributes for the root inode of the local
 mountpoint.
 
-