Whamcloud - gitweb
LUDOC-297 protocol: Update protocol document
[doc/protocol.git] / mds_disconnect.txt
index dbacaa6..d697873 100644 (file)
@@ -2,21 +2,34 @@ RPC 39: MDS DISCONNECT - Disconnect client from an MDS
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 [[mds-disconnect-rpc]]
 
-.MDS_DISCONNECT Generic Packet Structure
-image::mds-disconnect-generic.png["MDS_DISCONNECT Generic Packet Structure",height=100]
+Disconnect from an MDS.
+
+.MDS_DISCONNECT Request Packet Structure
+image::mds-disconnect-request.png["MDS_DISCONNECT Request Packet Structure",height=50]
 
 //////////////////////////////////////////////////////////////////////
-The mds-disconnect-generic.png diagram resembles this text art:
+The mds-disconnect-request.png diagram resembles this text art:
 
        MDS_DISCONNECT:
       --request------
       | ptlrpc_body |
       ---------------
+//////////////////////////////////////////////////////////////////////
+
+'ptlrpc_body'::
+RPC descriptor. See <<struct-ptlrpc-body>>.
+
+.MDS_DISCONNECT Reply Packet Structure
+image::mds-disconnect-reply.png["MDS_DISCONNECT Reply Packet Structure",height=50]
+
+//////////////////////////////////////////////////////////////////////
+The mds-disconnect-reply.png diagram resembles this text art:
+
+       MDS_DISCONNECT:
       --reply--------
       | ptlrpc_body |
       ---------------
 //////////////////////////////////////////////////////////////////////
 
-The information exchanged in a DISCONNECT message is that normally
-conveyed in the RPC descriptor, as described in <<struct-ptlrpc-body>>.
-
+'ptlrpc_body'::
+RPC descriptor. See <<struct-ptlrpc-body>>.