Whamcloud - gitweb
LUDOC-296 protocol: remove internal details from descriptions
[doc/protocol.git] / mds_getxattr.txt
1 RPC 49: MDS_GETXATTR
2 ~~~~~~~~~~~~~~~~~~~~
3 [[mds-getxattr-rpc]]
4
5 An RPC that fetches extended attributes for a resource.
6
7 .MDS_GETXATTR Generic Packet Structure
8 image::mds-getxattr-generic.png["MDS_GETXATTR Generic Packet Structure",height=100]
9
10 //////////////////////////////////////////////////////////////////////
11 The mds-getxattr-generic.png diagram resembles this text art:
12
13        MDS_GETXATTR:
14       --request-----------------------------------------------
15       | ptlrpc_body | mdt_body | lustre_capa | name | eadata |
16       --------------------------------------------------------
17       --reply----------------------------
18       | ptlrpc_body | mdt_body | eadata |
19       -----------------------------------
20 //////////////////////////////////////////////////////////////////////
21
22 'ptlrpc_body'::
23 RPC descriptor.
24
25 'mdt_body'::
26 Metadata about the resource.
27
28 'lustre_capa'::
29 So called "capabilities" structure. This is deprecated in recent
30 versions of Lustre, and commonly appears in the packet header as a zero
31 length buffer.
32
33 'name'::
34 A text field supplying the name of the desired resource.
35
36 'eadata'::
37 Information about extended attributes. This buffer is optional and will
38 appear as zero length in some packets.
39