Whamcloud - gitweb
LUDOC-297 protocol: Update protocol document
[doc/protocol.git] / llog_origin_handle_create.txt
index 9404c75..767125f 100644 (file)
@@ -2,20 +2,19 @@ RPC 501: LLOG ORIGIN HANDLE CREATE - Create llog handle
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 [[llog-origin-handle-create-rpc]]
 
-.LLOG_ORIGIN_HANDLE_CREATE Generic Packet Structure
-image::llog-origin-handle-create-generic.png["LLOG_ORIGIN_HANDLE_CREATE Generic Packet Structure",height=100]
+Open a log object.
+
+.LLOG_ORIGIN_HANDLE_CREATE Request Packet Structure
+image::llog-origin-handle-create-request.png["LLOG_ORIGIN_HANDLE_CREATE Request Packet Structure",height=50]
 
 //////////////////////////////////////////////////////////////////////
-The llog-origin-handle-create-generic.png diagram resembles this text
+The llog-origin-handle-create-request.png diagram resembles this text
 art:
 
        LLOG_ORIGIN_HANDLE_CREATE:
       --request----------------------------
       | ptlrpc_body | llogd_body | string |
       -------------------------------------
-      --reply---------------------
-      | ptlrpc_body | llogd_body |
-      ----------------------------
 //////////////////////////////////////////////////////////////////////
 
 'ptlrpc_body':: RPC descriptor. See <<struct-ptlrpc-body>>.
@@ -23,3 +22,21 @@ art:
 include::struct_llogd_body.txt[]
 
 'string':: The name of the log.
+
+.LLOG_ORIGIN_HANDLE_CREATE Reply Packet Structure
+image::llog-origin-handle-create-reply.png["LLOG_ORIGIN_HANDLE_CREATE Reply Packet Structure",height=50]
+
+//////////////////////////////////////////////////////////////////////
+The llog-origin-handle-create-reply.png diagram resembles this text
+art:
+
+       LLOG_ORIGIN_HANDLE_CREATE:
+      --reply---------------------
+      | ptlrpc_body | llogd_body |
+      ----------------------------
+//////////////////////////////////////////////////////////////////////
+
+'ptlrpc_body':: RPC descriptor. See <<struct-ptlrpc-body>>.
+
+'llogd_body'::
+The 'llogd_body' structure. See <<struct-llogd-body>>.