From eae0c7cb59db5ecab9893fccff9681d5ee78c76e Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 11 Jul 2025 11:10:07 +0200 Subject: [PATCH] Make NFS mount async to improve latency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don't wait to flush writes, as we don't care about consistency on a crash: > This option allows the NFS server to violate the NFS protocol and > reply to requests before any changes made by that request have been > committed to stable storage (e.g. disc drive). > > Using this option usually improves performance, but at the cost that > an unclean server restart (i.e. a crash) can cause data to be lost or > corrupted. Reviewed-by: Aleix Boné --- m/apex/nfs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m/apex/nfs.nix b/m/apex/nfs.nix index 84d9555e..353a9363 100644 --- a/m/apex/nfs.nix +++ b/m/apex/nfs.nix @@ -7,7 +7,7 @@ mountdPort = 4002; statdPort = 4000; exports = '' - /home 10.0.40.0/24(rw,sync,no_subtree_check,no_root_squash) + /home 10.0.40.0/24(rw,async,no_subtree_check,no_root_squash) ''; }; networking.firewall = {