[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250628051415.3015410-1-satlug@net153.net>
Date: Sat, 28 Jun 2025 00:14:15 -0500
From: Samuel Smith <satlug@...153.net>
To: linux-ext4@...r.kernel.org
Subject: [PATCH] e2scrub: honor fstrim setting in e2scrub.conf
The systemd service unconditionally passes -t to e2scrub, forcing
fstrim to run after every scrub regardless of the fstrim setting
in /etc/e2scrub.conf. Removing the hardcoded flag will allow users to
control the behavior via the configuration file.
Signed-off-by: Samuel Smith <satlug@...153.net>
---
scrub/e2scrub@...rvice.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scrub/e2scrub@...rvice.in b/scrub/e2scrub@...rvice.in
index 6425263c..3c9893c5 100644
--- a/scrub/e2scrub@...rvice.in
+++ b/scrub/e2scrub@...rvice.in
@@ -16,5 +16,5 @@ User=root
IOSchedulingClass=idle
CPUSchedulingPolicy=idle
Environment=SERVICE_MODE=1
-ExecStart=@...t_sbindir@...scrub -t %f
+ExecStart=@...t_sbindir@...scrub %f
SyslogIdentifier=%N
--
2.39.5
Powered by blists - more mailing lists