Whamcloud - gitweb
EX-5102 utils: Add --pin option for 'lfs pcc attach' command
authorLei Feng <flei@whamcloud.com>
Thu, 14 Apr 2022 05:07:07 +0000 (01:07 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 25 Apr 2022 23:42:11 +0000 (23:42 +0000)
commitd4679c3f23eb4c5015a8b55841f78c79fc7b9607
treeaa316091e3de0c6bbaaeb0bd34f343199499301a
parent957eb359973f03e8c8a59660b4e04f093ed53867
EX-5102 utils: Add --pin option for 'lfs pcc attach' command

If --pin option is provided, 'lfs pcc attach' command will
first pin then attach a file. So that user does not need
to run them separately.

Change-Id: I8e06af09abe7922399fd5e8e60132ff24ca31d1a
Signed-off-by: Lei Feng <flei@whamcloud.com>
Test-Parameters: trivial testlist=sanity-pcc
Reviewed-on: https://review.whamcloud.com/47067
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Yingjin Qian <qian@ddn.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/doc/lfs-pcc-attach.1
lustre/include/lustre/lustreapi.h
lustre/tests/sanity-pcc.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi_pcc.c