]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2scrub: honor fstrim setting in e2scrub.conf
authorSamuel Smith <satlug@net153.net>
Sat, 28 Jun 2025 05:14:15 +0000 (00:14 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 2 Jul 2025 01:57:11 +0000 (21:57 -0400)
commit1b11e079a6189a49d7a13c01c13d222c8537cc1e
tree95ceb5b897984fb38a14a2016b5d3b0e9ef9f01a
parent2ac7b68a3939a9e5af3010320f347a9fca6641b0
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@net153.net>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20250628051415.3015410-1-satlug@net153.net
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
scrub/e2scrub@.service.in