Whamcloud - gitweb
LUDOC 299 protocol: Spell-check document
[doc/protocol.git] / lustre_rpcs.txt
1 Lustre RPCs
2 -----------
3 [[lustre-rpcs]]
4
5 The Lustre protocol consists of a collection of remote procedure calls
6 (RPCs) collectively known as PtlRPCs. Each Lustre RPC is an operation
7 that consists of a pair of messages, a request and its reply.  The
8 'pb_type' field is set to PTLRPC_MSG_REQUEST for requests initiating
9 the operation, and normally PTLRPC_MSG_REPLY for replies unless the
10 message encountered a fatal error before it could be processed, in
11 which case it will contain PTLRPC_MSG_ERR.
12
13 The type of operation requested is denoted by the 'pb_opc' op-code
14 field of the RPC request. Note that as a general matter, the receipt
15 by a client of the reply message only assures the client that the
16 server has initiated the action, if any, but does not guarantee that
17 any modification has been committed to persistent storage. See the
18 discussion in <<transno>> and <<recovery>> for how the client is given
19 confirmation that a request has been completed.
20
21 include::ost_setattr.txt[]
22
23 include::ost_connect.txt[]
24
25 include::ost_disconnect.txt[]
26
27 include::ost_punch.txt[]
28
29 include::ost_statfs.txt[]
30
31 include::mds_getattr.txt[]
32
33 include::mds_reint.txt[]
34
35 include::mds_connect.txt[]
36
37 include::mds_disconnect.txt[]
38
39 include::mds_getstatus.txt[]
40
41 include::mds_statfs.txt[]
42
43 include::mds_getxattr.txt[]
44
45 include::ldlm_enqueue.txt[]
46
47 include::ldlm_cancel.txt[]
48
49 include::ldlm_bl_callback.txt[]
50
51 include::ldlm_cp_callback.txt[]
52
53 include::ldlm_gl_callback.txt[]
54
55 include::mgs_connect.txt[]
56
57 include::mgs_disconnect.txt[]
58
59 include::mgs_config_read.txt[]
60
61 include::llog_origin_handle_create.txt[]
62
63 include::llog_origin_handle_next_block.txt[]
64
65 include::llog_origin_handle_read_header.txt[]
66
67 include::struct_lustre_msg.txt[]
68