From d49567e7c3dcbb093ff3abe446f72f8bdfeffd6f Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 9 Jun 2025 17:21:03 +0100 Subject: [PATCH] Dummy commit to retry knife upload --- cookbooks/devices/templates/default/udev.rules.erb | 2 +- cookbooks/mailman/templates/default/backup.cron.erb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cookbooks/devices/templates/default/udev.rules.erb b/cookbooks/devices/templates/default/udev.rules.erb index 9f52b0567..f3b28f7f7 100644 --- a/cookbooks/devices/templates/default/udev.rules.erb +++ b/cookbooks/devices/templates/default/udev.rules.erb @@ -32,7 +32,7 @@ ACTION=="add", SUBSYSTEM=="block", ENV{ID_BUS}=="<%= device[:bus] %>", ENV{ID_SE <% end -%> <% end -%> -# Tune read-ahead for ancient laptop disks in shenron +# Tune read ahead for ancient laptop disks in shenron ACTION=="add", SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="sd?", ENV{ID_MODEL}=="HGST_HTE721010A9E630", ATTR{queue/read_ahead_kb}="512" ACTION=="add", SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="sd?", ENV{ID_MODEL}=="HGST_HTS725050A7E630", ATTR{queue/read_ahead_kb}="512" diff --git a/cookbooks/mailman/templates/default/backup.cron.erb b/cookbooks/mailman/templates/default/backup.cron.erb index 05e64cb3c..7a4da2460 100644 --- a/cookbooks/mailman/templates/default/backup.cron.erb +++ b/cookbooks/mailman/templates/default/backup.cron.erb @@ -18,6 +18,7 @@ nice tar --create --dereference \ --exclude='*/archives/*/*/*.txt.gz' \ --directory="$T" \ "lists-$D" | nice zstd --quiet --rsyncable -o "$T/$B" + nice rsync --preallocate --fuzzy "$T/$B" backup.openstreetmap.org::backup rm -rf "$T" -- 2.39.5