Whamcloud - gitweb
LU-15536 utils: add lfs somsync utility
authorJian Yu <yujian@whamcloud.com>
Wed, 13 Apr 2022 18:35:30 +0000 (11:35 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 26 Apr 2022 00:12:41 +0000 (00:12 +0000)
commit88be221925efbeba8d43d068dbe6de8140af1e0d
tree758c50d5ce75e04c9d1535335b8718c9e91b782c
parent5a2ca53599e0386867e92744b37a00a86ef9b653
LU-15536 utils: add lfs somsync utility

This patch adds lfs somsync utility to synchronize
SOM xattr(s) for given FILE(s) or FID(s).

lfs somsync FILE ...
lfs somsync --by-fid MOUNT FID ...

Test-Parameters: trivial env=ONLY=807 testlist=sanity

Change-Id: Ie9ee39625d56ec026c89dcc0f27025904ca354e3
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/46942
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Yingjin Qian <qian@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/doc/lfs-somsync.1 [new file with mode: 0644]
lustre/tests/sanity.sh
lustre/utils/lfs.c