Whamcloud - gitweb
LUDOC 299 protocol: Spell-check document
[doc/protocol.git] / llog_origin_handle_create.txt
1 RPC 501: LLOG ORIGIN HANDLE CREATE - Create llog handle
2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 [[llog-origin-handle-create-rpc]]
4
5 Open a log object.
6
7 .LLOG_ORIGIN_HANDLE_CREATE Request Packet Structure
8 image::llog-origin-handle-create-request.png["LLOG_ORIGIN_HANDLE_CREATE Request Packet Structure",height=50]
9
10 //////////////////////////////////////////////////////////////////////
11 The llog-origin-handle-create-request.png diagram resembles this text
12 art:
13
14        LLOG_ORIGIN_HANDLE_CREATE:
15       --request----------------------------
16       | ptlrpc_body | llogd_body | string |
17       -------------------------------------
18 //////////////////////////////////////////////////////////////////////
19
20 'ptlrpc_body':: RPC descriptor. See <<struct-ptlrpc-body>>.
21
22 include::struct_llogd_body.txt[]
23
24 'string':: The name of the log.
25
26 .LLOG_ORIGIN_HANDLE_CREATE Reply Packet Structure
27 image::llog-origin-handle-create-reply.png["LLOG_ORIGIN_HANDLE_CREATE Reply Packet Structure",height=50]
28
29 //////////////////////////////////////////////////////////////////////
30 The llog-origin-handle-create-reply.png diagram resembles this text
31 art:
32
33        LLOG_ORIGIN_HANDLE_CREATE:
34       --reply---------------------
35       | ptlrpc_body | llogd_body |
36       ----------------------------
37 //////////////////////////////////////////////////////////////////////
38
39 'ptlrpc_body':: RPC descriptor. See <<struct-ptlrpc-body>>.
40
41 'llogd_body'::
42 The 'llogd_body' structure. See <<struct-llogd-body>>.