5 An RPC that implements an operation that will change the state of
6 an object on an MDT. There are a variety of operations all gathered
7 under the MDS_REINT 'opcode'.
21 } mds_reint_t, mdt_reint_t;
24 include::struct_mdt_rec_reint.txt[]
28 [[mds-reint-setattr-rpc]]
30 An RPC that implements the 'setattr' sub-command of the MDS_REINT.
32 .MDS_REINT:REINT_SETATTR Generic Packet Structure
33 image::mds-reint-setattr-generic.png["MDS_REINT:REINT_SETATTR Generic Packet Structure",height=100]
35 //////////////////////////////////////////////////////////////////////
36 The mds-reint-setattr-generic.png diagram resembles this text art:
39 --REINT_SETATTR-request-------------------------------------
40 | ptlrpc_body | mdt_rec_setattr | lustre_capa | mdt_ioepoc |
41 eadata | llog_cookie | ldlm_request |
42 ------------------------------------------------------------
44 --REINT_SETATTR-reply----------------------------------
45 | ptlrpc_body | mdt_body | mdt_md | acl | lustre_capa |
47 -------------------------------------------------------
48 //////////////////////////////////////////////////////////////////////
52 [[mds-reint-setxattr-rpc]]
54 An RPC that implements the 'setxattr' sub-command of the MDS_REINT.
56 .MDS_REINT:REINT_SETXATTR Generic Packet Structure
57 image::mds-reint-setxattr-generic.png["MDS_REINT:REINT_SETXATTR Generic Packet Structure",height=100]
59 //////////////////////////////////////////////////////////////////////
60 The mds-reint-setxattr-generic.png diagram resembles this text art:
63 --REINT_SETXATTR-request-------------------------------------
64 | ptlrpc_body | mdt_rec_setxattr | lustre_capa | mdt_ioepoc |
65 eadata | llog_cookie | ldlm_request |
66 -------------------------------------------------------------
68 --REINT_SETXATTR-reply---------------------------------
69 | ptlrpc_body | mdt_body | mdt_md | acl | lustre_capa |
71 -------------------------------------------------------
72 //////////////////////////////////////////////////////////////////////
77 include::struct_mdt_rec_setattr.txt[]
79 include::struct_mdt_rec_setxattr.txt[]
82 So called "capabilities" structure. This is deprecated in recent
83 versions of Lustre, and commonly appears in the packet header as a zero
87 Identifying "epoch" information. This buffer is optional and will
88 appear as zero length in some packets.
91 Information about extended attributes. This buffer is optional and will
92 appear as zero length in some packets.
95 A log handle. This buffer is optional and will appear as zero length
99 A structure specifying a lock that can be the subject of early lock
100 cancellation. See <<early-lock-cancellation>>.
103 Metadata about the resource.
106 Layout data for the resource. This buffer is optional and will appear
107 as zero length in some packets.
110 Access control list data. This buffer is optional and will appear as
111 zero length in some packets.