From: Daan De Meyer Date: Wed, 13 Mar 2024 22:51:11 +0000 (+0100) Subject: ci: Btrfs mount option tuning X-Git-Tag: v22~5^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2499%2Fhead;p=thirdparty%2Fmkosi.git ci: Btrfs mount option tuning Let's choose the lowest compression level so as to not impact CPU usage too much. Use noatime as it's generally a straight speed boost and make sure some new btrfs features are enabled (should already be enabled but never hurts to be sure). --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a929cf1ab..76c5a81d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -148,7 +148,7 @@ jobs: mkfs.btrfs btrfs.raw sudo mkdir -p /mnt/mkosi LOOP="$(sudo losetup --find --show --direct-io=on btrfs.raw)" - sudo mount "$LOOP" /mnt/mkosi --options compress=zstd,user_subvol_rm_allowed + sudo mount "$LOOP" /mnt/mkosi --options compress=zstd:1,user_subvol_rm_allowed,noatime,discard=async,space_cache=v2 sudo chown "$(id -u):$(id -g)" /mnt/mkosi - name: Configure