From 0d602ce40f02ae4d980eb8f2b525e3c38a45531c Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 13 Mar 2024 23:51:11 +0100 Subject: [PATCH] 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). --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2