From cf7c0900b6f81ca3c206bcfbc8f7b3e9b3b69448 Mon Sep 17 00:00:00 2001 From: Matti Hyttinen Date: Sun, 23 Feb 2020 09:50:56 +0100 Subject: [PATCH] Optimize fstab for btrfs performance and stability --- src/modules/fstab/fstab.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/fstab/fstab.conf b/src/modules/fstab/fstab.conf index b2f3de361..7724fd841 100644 --- a/src/modules/fstab/fstab.conf +++ b/src/modules/fstab/fstab.conf @@ -10,7 +10,7 @@ # options from this mapping. mountOptions: default: defaults,noatime - btrfs: defaults,noatime,space_cache,autodefrag + btrfs: defaults,noatime,space_cache # Mount options to use for the EFI System Partition. If not defined, the # *mountOptions* for *vfat* are used, or if that is not set either, @@ -25,7 +25,7 @@ ssdExtraMountOptions: jfs: discard xfs: discard swap: discard - btrfs: discard,compress=lzo + btrfs: ssd,compress=zstd,commit=120 # Additional options added to each line in /etc/crypttab crypttabOptions: luks