From b2ef5ddb9a74614add8d8bee6d921a4c5a17b04b Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 23 Aug 2018 19:45:46 +0800 Subject: [PATCH] run-make-check: should use sudo for running sysctl Signed-off-by: Kefu Chai --- run-make-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.* -- 2.47.3