Whamcloud - gitweb
LU-11466 mdt: Skip SOM xattr update for DoM-only files 31/33331/11
authorQian Yingjin <qian@ddn.com>
Wed, 10 Oct 2018 07:55:54 +0000 (15:55 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 27 Nov 2018 04:56:31 +0000 (04:56 +0000)
commit76b9eecdebf830606b021079148eaefa6aab99cc
tree96ab371350a4d112c95aeef8cb0dbdadb73c6097
parent641e1d546742aa355ef51bee6359ee82994d5735
LU-11466 mdt: Skip SOM xattr update for DoM-only files

When scan the MDT image, DoM-only file can be specialized handled,
the size and blocks can be got directly from the inode on MDT, no
need SOM xattr anymore.
Thus, there is no need to store the SOM xattr for DoM-only files.

Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: I0f871cde38fc846460dd1b6f92509dee9ea90bfc
Reviewed-on: https://review.whamcloud.com/33331
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_som.c
lustre/tests/sanity.sh
lustre/utils/lfs.c