]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/osd/osd-dup.sh: lower wb fd throttle limits
authorDan Mick <dan.mick@redhat.com>
Fri, 5 May 2017 21:47:14 +0000 (14:47 -0700)
committerDan Mick <dan.mick@redhat.com>
Fri, 5 May 2017 21:47:14 +0000 (14:47 -0700)
osd-dup.sh was losing OSDs to EMFILE, mostly on arm64 (not clear why).

Signed-off-by: Dan Mick <dan.mick@redhat.com>
src/test/osd/osd-dup.sh

index 264d27ddfdb072d4f5f1e2c67d39f031fc956e3b..f82a85b9080891ac5effe6bc35859ec733b8a1dd 100755 (executable)
@@ -12,6 +12,9 @@ function run() {
     CEPH_ARGS+="--fsid=$(uuidgen) --auth-supported=none "
     CEPH_ARGS+="--mon-host=$CEPH_MON "
     CEPH_ARGS+="--enable-experimental-unrecoverable-data-corrupting-features bluestore "
+    # avoid running out of fds in rados bench
+    CEPH_ARGS+="--filestore_wbthrottle_xfs_ios_hard_limit=900 "
+    CEPH_ARGS+="--filestore_wbthrottle_btrfs_ios_hard_limit=900 "
     local funcs=${@:-$(set | sed -n -e 's/^\(TEST_[0-9a-z_]*\) .*/\1/p')}
     for func in $funcs ; do
         setup $dir || return 1