mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-27 02:37:53 +00:00
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>
This commit is contained in:
parent
e0ca4a2260
commit
70b28bc2cc
1 changed files with 4 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue