Whamcloud - gitweb
LU-11450 mdd: avoid logging trusted.som xattr in changelogs 23/33323/5
authorQian Yingjin <qian@ddn.com>
Tue, 9 Oct 2018 07:41:59 +0000 (15:41 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 29 Oct 2018 15:57:51 +0000 (15:57 +0000)
commitfaf6f514c172d6949e474c17f95ac45634b063fb
tree5a9a165ab0a926b9b6f21b962a299010a688ab8a
parent1c91721233da3e0324be8f9154f9592368578b7e
LU-11450 mdd: avoid logging trusted.som xattr in changelogs

The Lazy Size on MDT is causing the trusted.som xattr to be logged
in the changelog whenever a file is needed to update this xattr
data casued by file open/close or truncate operations.
This patch fixes this problem to avoid logging this xattr for
every file.

Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: I8f069afdfa84a8fc9f96819d066fd3e4d08794af
Reviewed-on: https://review.whamcloud.com/33323
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/mdd/mdd_object.c
lustre/tests/sanity.sh