Whamcloud - gitweb
EX-5176 pcc: use JSON string for trusted.pin xattr
authorLei Feng <flei@whamcloud.com>
Thu, 28 Apr 2022 02:21:06 +0000 (22:21 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 6 May 2022 18:30:05 +0000 (18:30 +0000)
commitfbfd2d0755347481e3993fff3ff60b7c755bf160
tree036fc59f3d10940d72d0f7e6d0063ffaea2a10b7
parent2f0739b3614d5ea9f04f48f45ac14fac3f70a48c
EX-5176 pcc: use JSON string for trusted.pin xattr

Change the format of trusted.pin xattr to JSON.
For example:
trusted.pin=[{"hsm":2}]
trusted.pin=[{"hsm":2},{"hsm":3},{"pool":"ddn_ssd"}]

Change-Id: I38aeb4ad960cf8324e77ac467f5e5cd742f9ec86
Signed-off-by: Lei Feng <flei@whamcloud.com>
Test-Parameters: trivial testlist=sanity-pcc
Reviewed-on: https://review.whamcloud.com/47161
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre.spec.in
lustre/tests/Makefile.am
lustre/tests/mpi/Makefile.am
lustre/tests/sanity-pcc.sh
lustre/tests/sanity.sh
lustre/utils/Makefile.am
lustre/utils/gss/Makefile.am
lustre/utils/liblustreapi_pcc.c