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