Whamcloud - gitweb
LUDOC-297 protocol: Update protocol document
[doc/protocol.git] / umount.txt
index 5a79063..63f11af 100644 (file)
@@ -19,3 +19,93 @@ Step Client         MGS             MDT            OST
 6                 <-MGS_DISCONNECT
 //////////////////////////////////////////////////////////////////////
 
+*1 - Client issues an OST_DICONNECT to each OST.*
+
+.OST_DISCONNECT Request Packet Structure
+image::ost-disconnect-request.png["OST_DISCONNECT Request Packet Structure",height=50]
+
+//////////////////////////////////////////////////////////////////////
+The ost-disconnect-request.png diagram resembles this text art:
+
+       OST_DISCONNECT:
+      --request------
+      | ptlrpc_body |
+      ---------------
+//////////////////////////////////////////////////////////////////////
+
+See <<ost-disconnect-rpc>>.
+
+*2 - Each OST replies to the OST_DISCONNECT.*
+
+.OST_DISCONNECT Reply Packet Structure
+image::ost-disconnect-reply.png["OST_DISCONNECT Reply Packet Structure",height=50]
+
+//////////////////////////////////////////////////////////////////////
+The ost-disconnect-reply.png diagram resembles this text art:
+
+       OST_DISCONNECT:
+      --reply--------
+      | ptlrpc_body |
+      ---------------
+//////////////////////////////////////////////////////////////////////
+
+*3 - Client issues an MDS_DICONNECT to each MDT.*
+
+.MDS_DISCONNECT Request Packet Structure
+image::mds-disconnect-request.png["MDS_DISCONNECT Request Packet Structure",height=50]
+
+//////////////////////////////////////////////////////////////////////
+The mds-disconnect-request.png diagram resembles this text art:
+
+       MDS_DISCONNECT:
+      --request------
+      | ptlrpc_body |
+      ---------------
+//////////////////////////////////////////////////////////////////////
+
+See <<mds-disconnect-rpc>>.
+
+*4 - Each MDT replies to the MDS_DISCONNECT.*
+
+.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 |
+      ---------------
+//////////////////////////////////////////////////////////////////////
+
+*5 - Client issues an MGS_DICONNECT to the MGS.*
+
+.MGS_DISCONNECT Request Packet Structure
+image::mgs-disconnect-request.png["MGS_DISCONNECT Request Packet Structure",height=50]
+
+//////////////////////////////////////////////////////////////////////
+The mgs-disconnect-request.png diagram resembles this text art:
+
+       MGS_DISCONNECT:
+      --request------
+      | ptlrpc_body |
+      ---------------
+//////////////////////////////////////////////////////////////////////
+
+See <<mgs-disconnect-rpc>>.
+
+*6 - The MGS replies to the MGS_DISCONNECT.*
+
+.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 |
+      ---------------
+//////////////////////////////////////////////////////////////////////
+