From 84e66f85125c33afb8ec7ace729728668260d1b7 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Sat, 9 Dec 2023 17:45:40 -0500 Subject: [PATCH] [mount] Drop noatime for baseline and btrfs defaults The usage of noatime has subtle negative impacts on the system, including breaking various utilities that rely on that information. If a user or distribution explicitly chooses this, then they acknowledge this problem and account for it, but it should not be an uninformed default. It's left in place for swap because it does not matter there and likely reduces thrashing for swap files. --- src/modules/mount/mount.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/mount/mount.conf b/src/modules/mount/mount.conf index 97e512846..47e7e46ca 100644 --- a/src/modules/mount/mount.conf +++ b/src/modules/mount/mount.conf @@ -95,9 +95,9 @@ btrfsSwapSubvol: /@swap # - filesystem: efi # options: [ defaults, umask=0077 ] # - filesystem: ext4 -# options: [ defaults, noatime ] +# options: [ defaults ] # - filesystem: btrfs -# options: [ defaults, noatime, compress=zstd:1 ] +# options: [ defaults, compress=zstd:1 ] # ssdOptions: [ discard=async ] # hddOptions: [ autodefrag ] # - filesystem: btrfs_swap @@ -108,15 +108,15 @@ btrfsSwapSubvol: /@swap # # mountOptions: # - filesystem: default -# options: [ defaults, noatime ] +# options: [ defaults ] # mountOptions: - filesystem: default - options: [ defaults, noatime ] + options: [ defaults ] - filesystem: efi options: [ defaults, umask=0077 ] - filesystem: btrfs - options: [ defaults, noatime, compress=lzo ] + options: [ defaults, compress=lzo ] - filesystem: btrfs_swap options: [ defaults, noatime ]