Whamcloud - gitweb
LUDOC-297 protocol: Update protocol document
[doc/protocol.git] / mds_getattr.txt
1 RPC 33: MDS GETATTR - Get MDS Attributes
2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 [[mds-getattr-rpc]]
4
5 Get attribute information for a resource on an MDT.
6
7 .MDS_GETATTR Request Packet Structure
8 image::mds-getattr-request.png["MDS_GETATTR Request Packet Structure",height=50]
9
10 //////////////////////////////////////////////////////////////////////
11 The mds-getattr-request.png diagram resembles this text art:
12
13        MDS_GETATTR:
14       --request-------------------------------
15       | ptlrpc_body | mdt_body | lustre_capa |
16       ----------------------------------------
17 //////////////////////////////////////////////////////////////////////
18
19 'ptlrpc_body'::
20 RPC descriptor. See <<struct-ptlrpc-body>>.
21
22 include::struct_mdt_body.txt[]
23
24 'lustre_capa'::
25 A "capabilities" structure. See <<struct-lustre-capa>>.
26
27 .MDS_GETATTR Reply Packet Structure
28 image::mds-getattr-reply.png["MDS_GETATTR Reply Packet Structure",height=50]
29
30 //////////////////////////////////////////////////////////////////////
31 The mds-getattr-reply.png diagram resembles this text art:
32
33        MDS_GETATTR:
34       --reply----------------------------------------------
35       | ptlrpc_body | mdt_body | MDS_MD | ACL | fid1_capa |
36       -----------------------------------------------------
37       | fid2_capa |
38       ---------------
39 //////////////////////////////////////////////////////////////////////
40
41 'ptlrpc_body'::
42 RPC descriptor. See <<struct-ptlrpc-body>>.
43
44 'mdt_body'::
45 Metadata about the resource. See <<struct-mdt-body>>.
46
47 MDS_MD::
48 Needs more detail.
49
50 ACL::
51 Needs more detail.
52
53 'fid1_capa'::
54 The capabilities structure for the first FID in the 'mdt_body'. See
55 <<struct-lustre-capa>>.
56
57 'fid2_capa'::
58 The capabilities structure for the second FID in the 'mdt_body'. See
59 <<struct-lustre-capa>>.