Whamcloud - gitweb
LU-9538 utils: Tool for syncing file LSOM xattr 24/30124/21
authorQian Yingjin <qian@ddn.com>
Thu, 16 Nov 2017 01:42:57 +0000 (09:42 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 9 Aug 2018 18:20:15 +0000 (18:20 +0000)
commitcaba6b9af07567ff4cdae9f6450f399cd3ca445e
tree86c370bab645b35c9637da8b95b35767122050e0
parent88252d0612e55ed21f36345006a7a39cda9886fb
LU-9538 utils: Tool for syncing file LSOM xattr

Add a helper tool for syncing file LSOM xattr.
Firstly, register a new changelog user:
lctl --device lustre-MDT0000 changelog_register

After perform some file operations on Lustre file system, run
this tool to sync file LSOM xattr:
llsom_sync -u cl1 -m lustre-MDT0000 /mnt/lustre

Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: Ia2878b48f7f665b01b230585921c78ae41846171
Reviewed-on: https://review.whamcloud.com/30124
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/util/Makefile.am
libcfs/include/libcfs/util/hash.h [new file with mode: 0644]
libcfs/include/libcfs/util/parser.h
libcfs/libcfs/util/parser.c
lustre/doc/Makefile.am
lustre/doc/llsom_sync.8 [new file with mode: 0644]
lustre/tests/sanity.sh
lustre/tests/test-framework.sh
lustre/utils/Makefile.am
lustre/utils/llsom_sync.c [new file with mode: 0644]