From 70b28bc2cc7b0696adf6b173be797d0f9c91237e Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Tue, 5 Nov 2019 11:27:40 -0500 Subject: Cirrus: Use deadline elevator in F31 The default scheduler is BFQ but integration tests run into https://bugzilla.redhat.com/show_bug.cgi?id=1767539 aka https://bugzilla.kernel.org/show_bug.cgi?id=205447 Using the deadline elevator as a workaround. Signed-off-by: Chris Evich --- contrib/cirrus/setup_environment.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'contrib/cirrus') diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh index 4d4189aa6..00f625407 100755 --- a/contrib/cirrus/setup_environment.sh +++ b/contrib/cirrus/setup_environment.sh @@ -49,6 +49,10 @@ case "${OS_RELEASE_ID}" in bash "$SCRIPT_BASE/add_second_partition.sh"; fi if [[ "$OS_RELEASE_VER" == "31" ]]; then + warn "Switching io schedular to deadline to avoid RHBZ 1767539" + warn "aka https://bugzilla.kernel.org/show_bug.cgi?id=205447" + echo "mq-deadline" > /sys/block/sda/queue/scheduler + cat /sys/block/sda/queue/scheduler warn "Testing with crun instead of runc" X=$(echo "export export OCI_RUNTIME=/usr/bin/crun" | \ tee -a /etc/environment) && eval "$X" && echo "$X" -- cgit v1.2.3-54-g00ecf