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', and the
42 second 'struct lu_fid' from the generic <<struct-mdt-rec-reint>> is
43 just "padding". See also <<struct-lu-fid>>.
45 The 'sx_valid' field identifies which of the other fields in the
46 structure are to be honored. If the corresponding flag bit is not set
47 then the value of the corresponding field is to be ignored. The flag
48 values draw from the same set of definitions as
49 <<struct-mdt-rec-setattr>>.
53 .Flags for 'sx_valid' field of 'struct mdt_rec_setxattr'
57 | OBD_MD_FLCTIME | ctime attribute
61 The 'sx_time' field is set to the 'ctime' value for the update and the
62 OBD_MD_FLCTIME value is used in the 'sx_valid' field to indicate the
63 value is to be honored. Fixme: The other flag values for 'sx_valid'
64 are not clear in the code, so I need to dig into them more
65 deeply. Similarly, the use and possible values for the 'sx_flags'
66 field are not obvious.