Whamcloud - gitweb
c13df8f4a995f7c2dadab046366065698284c20d
[doc/protocol.git] / lustre_rpcs.txt
1 Lustre RPCs
2 -----------
3 [[lustre-rpcs]]
4
5 Lustre operations are denoted by the 'pb_opc' op-code field of the
6 RPC descriptor. Each operation is implemented as a pair of messages,
7 with the 'pb_type' field set to PTLRPC_MSG_REQUEST for requests
8 initiating the operation, and PTLRPC_MSG_REPLY for replies. Note that
9 as a general matter, the receipt by a client of the reply message only
10 assures the client hat the server has initiated the action, if
11 any. See the discussion on <<transno,transaction numbers>>
12 and <<recovery>> for how the client is given confirmation that a
13 request has been completed.
14
15 include::ost_setattr.txt[]
16
17 include::ost_connect.txt[]
18
19 include::ost_disconnect.txt[]
20
21 include::ost_punch.txt[]
22
23 include::ost_statfs.txt[]
24
25 include::mds_getattr.txt[]
26
27 include::mds_reint.txt[]
28
29 include::mds_connect.txt[]
30
31 include::mds_disconnect.txt[]
32
33 include::mds_getstatus.txt[]
34
35 include::mds_statfs.txt[]
36
37 include::mds_getxattr.txt[]
38
39 include::ldlm_enqueue.txt[]
40
41 include::ldlm_cancel.txt[]
42
43 include::ldlm_bl_callback.txt[]
44
45 include::ldlm_cp_callback.txt[]
46
47 include::ldlm_gl_callback.txt[]
48
49 include::mgs_connect.txt[]
50
51 include::mgs_disconnect.txt[]
52
53 include::mgs_config_read.txt[]
54
55 include::llog_origin_handle_create.txt[]
56
57 include::llog_origin_handle_next_block.txt[]
58
59 include::llog_origin_handle_read_header.txt[]
60
61 #################################################################
62 Fixme: Move the RPC message sturucture includes to where they
63 first gets introduced. In the sections that have the relevant
64 operations.
65 #################################################################
66
67 include::data_types.txt[]
68
69 include::mdt_structs.txt[]
70
71 include::mds_reint_structs.txt[]
72
73 include::ost_setattr_structs.txt[]
74
75 include::statfs_structs.txt[]