From: Kefu Chai Date: Thu, 23 Aug 2018 11:45:46 +0000 (+0800) Subject: run-make-check: should use sudo for running sysctl X-Git-Tag: v14.0.1~511^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F23708%2Fhead;p=ceph.git run-make-check: should use sudo for running sysctl Signed-off-by: Kefu Chai --- diff --git a/run-make-check.sh b/run-make-check.sh index eb56b4060400d..273531953c66a 100755 --- a/run-make-check.sh +++ b/run-make-check.sh @@ -140,7 +140,7 @@ EOM # increase the aio-max-nr, which is by default 65536. we could reach this # limit while running seastar tests and bluestore tests. - $DRY_RUN sysctl -q -w fs.aio-max-nr=$((65536 * 16)) + $DRY_RUN sudo sysctl -q -w fs.aio-max-nr=$((65536 * 16)) if ! $DRY_RUN ctest $CHECK_MAKEOPTS --output-on-failure; then rm -fr ${TMPDIR:-/tmp}/ceph-asok.*