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