From b1df44421be1b14433f6126a57e993906fe63379 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 2 Sep 2022 15:23:38 +0200 Subject: [PATCH] Bump commit interval to 30s (#2103) A higher file system commit interval can help to decrease the amount of writes. In tests, a commit interval of higher than 30s seems not to help much in practice. Settle with 30s for now. --- .../rootfs-overlay/usr/lib/systemd/system/mnt-data.mount | 1 + 1 file changed, 1 insertion(+) diff --git a/buildroot-external/rootfs-overlay/usr/lib/systemd/system/mnt-data.mount b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/mnt-data.mount index 8409e63bb..366c98d20 100644 --- a/buildroot-external/rootfs-overlay/usr/lib/systemd/system/mnt-data.mount +++ b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/mnt-data.mount @@ -12,6 +12,7 @@ Wants=systemd-fsck@dev-disk-by\x2dlabel-hassos\x2ddata.service systemd-growfs@mn What=/dev/disk/by-label/hassos-data Where=/mnt/data Type=ext4 +Options=commit=30 [Install] WantedBy=local-fs.target