]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
run-make-check.sh: increase fs.aio-max-nr
authorKefu Chai <kchai@redhat.com>
Fri, 19 Mar 2021 08:18:23 +0000 (16:18 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 19 Mar 2021 08:24:33 +0000 (16:24 +0800)
commite8fd4b3a1389f4c97483e91a45759ace369aa334
tree8dc6df917db36f2af8c9ef7359387d131e1f2459
parentda7a6fae9eee6383cf98f5dff191e83e554e59c5
run-make-check.sh: increase fs.aio-max-nr

without this change the seastar based tests fail on host with 48 cores,
because the /proc/sys/fs/aio-nr used by the tests is greater than
1048576. if run-make-check.sh is used to launch the test, the default
job number is `$(nproc) / 2`, and the peak number of /proc/sys/fs/aio-nr
when running ctest was 3190848 when testing on the 48-core host.

so we need to increase fs.aio-max-nr accordingly to the available cores
on the host.

Signed-off-by: Kefu Chai <kchai@redhat.com>
run-make-check.sh