Whamcloud - gitweb
LU-11404 llite: only first sync to MDS matter 75/33175/19
authorAlex Zhuravlev <bzzz@whamcloud.com>
Thu, 20 Oct 2022 05:27:48 +0000 (08:27 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 11 Apr 2023 20:04:24 +0000 (20:04 +0000)
commit1c8a49bedff274677594833cb4958027c6b338db
tree82d22b3f2f608f70032ec97cb7f139a8680884d2
parent36a199db2b174ba95b683b5e641443357ad24036
LU-11404 llite: only first sync to MDS matter

fsync() is supposed to sync metadata and data, but given file's
layout the only first MDS_SYNC matters to ensure the file creation
has been committed, everything else go to OSTs (data and attributes)
also, uid/gid/mode, EAs and ACLs must be subject to sync.

Change-Id: Iaa9095a9ace319a6dfa8840313dc536e39786847
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/33175
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Mikhail Pershin <mpershin@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/acl.c
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/xattr.c