From 25a0c591998b0ce50a25baaaecc2466748fd5869 Mon Sep 17 00:00:00 2001 From: Andre Date: Tue, 7 Jan 2025 18:50:15 +0000 Subject: [PATCH] RAID: enable fast commits --- modules/nixos/system/raid/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/nixos/system/raid/default.nix b/modules/nixos/system/raid/default.nix index 7069aef..3baef88 100644 --- a/modules/nixos/system/raid/default.nix +++ b/modules/nixos/system/raid/default.nix @@ -50,6 +50,8 @@ in "nofail" # Keep booting even if the array fails to unlock "lazytime" # Reduce atime writes: https://wiki.archlinux.org/title/Fstab#atime_options "commit=60" # Increase commit interval to 60 seconds to reduce writes: https://wiki.archlinux.org/title/Ext4#Increasing_commit_interval + "data=journal" # Commit to the journal before writing to the filesystem. + "journal_async_commit" ]; };