mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-20 20:06:32 +08:00
Task-number: QTQAINFRA-3921 Change-Id: I325a4b8f272dda80168aed1389e647bbd525b10f Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
10 lines
354 B
Bash
Executable File
10 lines
354 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
# Stops the balance job if one is running at the moment. This is a very expensive thing to run and causes major slow down.
|
|
sudo systemctl stop btrfs-balance.service
|
|
|
|
# This will disable btrfs balance job scheduling.
|
|
sudo sed -i 's/BTRFS_BALANCE_PERIOD="weekly"/BTRFS_BALANCE_PERIOD="none"/g' /etc/sysconfig/btrfsmaintenance
|