summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-11-05 11:27:40 -0500
committerChris Evich <cevich@redhat.com>2020-02-25 12:34:25 -0500
commit70b28bc2cc7b0696adf6b173be797d0f9c91237e (patch)
tree4b7cfc914a9ded15117e887b2fdaae115fab19d0 /contrib
parente0ca4a22604cd8b359328fb56a5499d3e1a36157 (diff)
downloadpodman-70b28bc2cc7b0696adf6b173be797d0f9c91237e.tar.gz
podman-70b28bc2cc7b0696adf6b173be797d0f9c91237e.tar.bz2
podman-70b28bc2cc7b0696adf6b173be797d0f9c91237e.zip
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 <cevich@redhat.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/cirrus/setup_environment.sh4
1 files changed, 4 insertions, 0 deletions
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"