1 REINT_SETXATTR Structure
2 ^^^^^^^^^^^^^^^^^^^^^^^^
3 [[struct-mdt-rec-setxattr]]
5 The variant of the 'mdt_rec_reint' for the 'setxattr' operation is:
9 struct mdt_rec_setxattr {
38 The 'setxattr' variant modifies the semantics of the generic REINT
41 There is only one FID to be operated upon, and the 'sx_valid',
42 and the second 'struct lu_fid' is just "padding".
44 The 'sx_valid' field identifies which of the other fields in the
45 structure are to be honored. If the corresponding flag bit is not set
46 then the value of the corresponding field is to be ignored. The flag
47 values draw from the same set of definitions as
48 <<struct-mdt-rec-setattr>>.
50 .Flags for 'sx_valid' field of 'struct mdt_rec_setxattr'
54 | OBD_MD_FLCTIME | ctime attribute
57 The 'sx_time' field is set to the 'ctime' value for the update and the
58 OBD_MD_FLCTIME value is used in the 'sx_valid' field to indicate the
59 value is to be honored. Fixme: The other flag values for 'sx_valid'
60 are not clear in the code, so I need to dig into them more
61 deeply. Similarly, the use and possible values for the 'sx_flags'
62 field are not obvious.