Branch HEAD
b=15797 i=Nikita i=Vitaly (1)Replace "la->la_valid" with "ma->ma_attr_flags" to pass "MDS_OPEN_OWNEROVERRIDE". (2)Drop "lu_attr" parameter for xattr_{set,del} method. The caller should guarantee to update the object ctime. (3)MDT can detect whether the "setattr" is SOM case or truncate case, it is unnecessary to pass special flag ("MDS_ATTR_TRUNC") from client to MDT for truncate case.
Showing
- lustre/cmm/cmm_object.c 6 additions, 6 deletionslustre/cmm/cmm_object.c
- lustre/cmm/cmm_split.c 1 addition, 1 deletionlustre/cmm/cmm_split.c
- lustre/include/lu_object.h 0 additions, 1 deletionlustre/include/lu_object.h
- lustre/include/lustre/lustre_idl.h 2 additions, 4 deletionslustre/include/lustre/lustre_idl.h
- lustre/include/md_object.h 6 additions, 8 deletionslustre/include/md_object.h
- lustre/liblustre/super.c 1 addition, 1 deletionlustre/liblustre/super.c
- lustre/llite/llite_lib.c 1 addition, 1 deletionlustre/llite/llite_lib.c
- lustre/mdc/mdc_lib.c 0 additions, 2 deletionslustre/mdc/mdc_lib.c
- lustre/mdd/mdd_object.c 40 additions, 52 deletionslustre/mdd/mdd_object.c
- lustre/mdt/mdt_lib.c 2 additions, 7 deletionslustre/mdt/mdt_lib.c
- lustre/mdt/mdt_open.c 1 addition, 1 deletionlustre/mdt/mdt_open.c
- lustre/mdt/mdt_reint.c 3 additions, 0 deletionslustre/mdt/mdt_reint.c
- lustre/mdt/mdt_xattr.c 13 additions, 2 deletionslustre/mdt/mdt_xattr.c
Loading
Please register or sign in to comment