5 An RPC that implements an operation that will change the information
6 on an MDT. There are a variety of operations all gathered under the
21 } mds_reint_t, mdt_reint_t;
26 [[mds-reint-setattr-rpc]]
28 An RPC that implements the 'setattr' sub-command of the MDS_REINT.
30 .MDS_REINT:REINT_SETATTR Generic Packet Structure
31 image::mds-reint-setattr-generic.png["MDS_REINT:REINT_SETATTR Generic Packet Structure",height=100]
33 //////////////////////////////////////////////////////////////////////
34 The mds-reint-setattr-generic.png diagram resembles this text art:
37 --REINT_SETATTR-request-------------------------------------
38 | ptlrpc_body | mdt_rec_setattr | lustre_capa | mdt_ioepoc |
39 eadata | llog_cookie | ldlm_request |
40 ------------------------------------------------------------
42 --REINT_SETATTR-reply----------------------------------
43 | ptlrpc_body | mdt_body | mdt_md | acl | lustre_capa |
45 -------------------------------------------------------
46 //////////////////////////////////////////////////////////////////////
48 The second buffer ('mdt_rec_setattr' in the above) is one of the
49 variants specific to the particular REINT as given by the
50 'mdt_reint_t' opcode. Each such variant has the same number and size
51 of fields, but how the fields are interpreted varies slightly between
52 variiants. For all the variant structures refer to
53 <<mds-reint-structs>>.
57 [[mds-reint-setxattr-rpc]]
59 An RPC that implements the 'setxattr' sub-command of the MDS_REINT.
61 .MDS_REINT:REINT_SETXATTR Generic Packet Structure
62 image::mds-reint-setxattr-generic.png["MDS_REINT:REINT_SETXATTR Generic Packet Structure",height=100]
64 //////////////////////////////////////////////////////////////////////
65 The mds-reint-setxattr-generic.png diagram resembles this text art:
68 --REINT_SETXATTR-request-------------------------------------
69 | ptlrpc_body | mdt_rec_setxattr | lustre_capa | mdt_ioepoc |
70 eadata | llog_cookie | ldlm_request |
71 -------------------------------------------------------------
73 --REINT_SETXATTR-reply---------------------------------
74 | ptlrpc_body | mdt_body | mdt_md | acl | lustre_capa |
76 -------------------------------------------------------
77 //////////////////////////////////////////////////////////////////////
83 Information pertinent to setting attributes on the MDT.
86 Information pertinent to setting extended attributes on the MDT.
89 So called "capabilities" structure. This is deprecated in recent
90 versions of Lustre, and commonly appears in the packet header as a zero
94 Identifying "epoch" information. This buffer is optional and will
95 appear as zero length in some packets.
98 Information about extended attributes. This buffer is optional and will
99 appear as zero length in some packets.
102 A log handle. This buffer is optional and will appear as zero length
106 A structure specifying a lock that can be the subject of early lock
107 cancellation. See <<early-lock-cancellation>>.
110 Metadata about the resource.
113 Layout data for the resource. This buffer is optional and will appear
114 as zero length in some packets.
117 Access control list data. This buffer is optional and will appear as
118 zero length in some packets.