From b37d0b49dafbe86bfcbd94fc8f9a60ebcf054071 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Fri, 5 May 2017 14:47:14 -0700 Subject: [PATCH] test/osd/osd-dup.sh: lower wb fd throttle limits osd-dup.sh was losing OSDs to EMFILE, mostly on arm64 (not clear why). Signed-off-by: Dan Mick --- src/test/osd/osd-dup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/osd/osd-dup.sh b/src/test/osd/osd-dup.sh index 264d27ddfdb..f82a85b9080 100755 --- a/src/test/osd/osd-dup.sh +++ b/src/test/osd/osd-dup.sh @@ -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 -- 2.47.3