Whamcloud - gitweb
LU-18100 pcc: fix the error when get pcc_async_threshold 15/56015/2
authorQian Yingjin <qian@ddn.com>
Tue, 13 Aug 2024 03:09:55 +0000 (11:09 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 23 Aug 2024 22:06:26 +0000 (22:06 +0000)
commita2ebc165af1b28c8d23a81ab0efb28fb1318bf1d
tree0dabe864ddb21e4b436a7a99db67e49f86ee7a3a
parent2291ae55f7a1a20ab8f553f76e4657d0e3e7661f
LU-18100 pcc: fix the error when get pcc_async_threshold

Add "head -n 1" when get llite.*.pcc_async_threshold in the
sanity-pcc/test_102.
Otherwise, it will cause the failure when restore the valule.

Test-Parameters: trivial testlist=sanity-pcc
Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: I9618797a09dadbb358601ad602075547c02207c2
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56015
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-pcc.sh