Whamcloud - gitweb
EX-8027 pcc: add --wait option for PCC detach command
authorQian Yingjin <qian@ddn.com>
Thu, 14 Sep 2023 08:18:23 +0000 (04:18 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 27 Oct 2023 21:50:31 +0000 (21:50 +0000)
commit2d48d6ca64ba3b0596bb24fe024cd73db40c7642
tree98bceafb6990e2594a52d4036533ed7e0e9ca655
parent80094070c66338d70f01fe6f279f3314bd0849d7
EX-8027 pcc: add --wait option for PCC detach command

This patch adds "--wait" option for PCC detach command.
PCC detach with this option must wait for in-progress attach on
this file finished.
Add sanity-pcc/test_107 to verify it.

Change-Id: I63d52d514884b15a7b534d0f03deee441a12d3f1
Signed-off-by: Qian Yingjin <qian@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52374
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/doc/lfs-pcc-detach.1
lustre/doc/llapi_pcc_detach_fid_fd.3
lustre/tests/sanity-pcc.sh
lustre/utils/lfs.c