Skip to content

Commit 33b0129

Browse files
committed
chore(gha): mount
1 parent 7a9fd87 commit 33b0129

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ci/cached-builds/gha_lvm_overlay.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ mkdir -p "${build_mount_path}"
6767
# https://www.alibabacloud.com/help/en/ecs/use-cases/mount-parameters-for-ext4-file-systems?spm=a2c63.p38356.help-menu-25365.d_5_10_12.48ce3be5RixoUB#8e740ed072m5o
6868
# https://fedoramagazine.org/working-with-btrfs-compression/
6969

70-
#sudo mount -t btrfs -o defaults,noatime,noautodefrag,nobarrier,compress=zstd:3,nodatasum,nodiscard,nodatacow,space_cache "/dev/mapper/${VG_NAME}-buildlv" "${build_mount_path}"
71-
sudo mount -t btrfs -o defaults,compress=zstd:3 "/dev/mapper/${VG_NAME}-buildlv" "${build_mount_path}"
70+
# https://github.com/btrfs/btrfs-todo/issues/29
71+
sudo mount -t btrfs -o defaults,noatime,noautodefrag,nobarrier,compress=zstd:3,nodatasum,nodiscard,nodatacow,space_cache=v2 "/dev/mapper/${VG_NAME}-buildlv" "${build_mount_path}"
72+
#sudo mount -t btrfs -o defaults,compress=zstd:3 "/dev/mapper/${VG_NAME}-buildlv" "${build_mount_path}"
7273
findmnt -vno OPTIONS "${build_mount_path}"
7374
sudo chown -R "${build_mount_path_ownership}" "${build_mount_path}"
7475

0 commit comments

Comments
 (0)