49700386d0
- Document and adjust balance thresholds and periods (FATE#325529 jsc#SLE-3188). * README: document impact of balance + quota groups * sysconfig: reduce default balance usage thresholds * sysconfig: document using systemd.time(7) for frequency of operations * btrfsmaintenance-refresh-cron.sh: validate periods for cron-based systems - Remove python dependency (FATE#326736 jsc#SLE-4130). * btrfs-defrag-plugin: remove dependency on zypp-plugin-python - Added patches: * 0001-README-document-impact-of-balance-quota-groups.patch * 0002-sysconfig-reduce-default-balance-usage-thresholds-fa.patch * 0003-sysconfig-document-using-systemd.time-7-for-frequenc.patch * 0004-btrfsmaintenance-refresh-cron.sh-validate-periods-fo.patch * 0005-btrfs-defrag-plugin-remove-dependency-on-zypp-plugin.patch - Added source: * btrfs-defrag-plugin.sh - Removed patch: * python3-support-bsc1070322.diff OBS-URL: https://build.opensuse.org/request/show/684484 OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsmaintenance?expand=0&rev=44
54 lines
1.9 KiB
Diff
54 lines
1.9 KiB
Diff
From 0302324b7a824741a39e3928dc7a8617485e03ce Mon Sep 17 00:00:00 2001
|
|
From: Jeff Mahoney <jeffm@suse.com>
|
|
Date: Fri, 25 Jan 2019 13:35:54 -0500
|
|
Subject: sysconfig: document using systemd.time(7) for frequency of operations
|
|
References: fate#325529 jsc#SLE-3188
|
|
|
|
On systems using systemd timers, the calendar event format documented in
|
|
systemd.time(7) may be used to specify when to run balance, defrag,
|
|
scrub, or trim events. This commit documents that validity.
|
|
---
|
|
sysconfig.btrfsmaintenance | 12 ++++++++++++
|
|
1 file changed, 12 insertions(+)
|
|
|
|
diff --git a/sysconfig.btrfsmaintenance b/sysconfig.btrfsmaintenance
|
|
index 5a34c83..b35e2cf 100644
|
|
--- a/sysconfig.btrfsmaintenance
|
|
+++ b/sysconfig.btrfsmaintenance
|
|
@@ -48,6 +48,10 @@ BTRFS_BALANCE_MOUNTPOINTS="/"
|
|
## ServiceRestart: btrfsmaintenance-refresh
|
|
#
|
|
# Frequency of periodic balance.
|
|
+#
|
|
+# The frequency may be specified using one of the listed values or
|
|
+# in the format documented in the "Calendar Events" section of systemd.time(7),
|
|
+# if available.
|
|
BTRFS_BALANCE_PERIOD="weekly"
|
|
|
|
## Path: System/File systems/btrfs
|
|
@@ -89,6 +93,10 @@ BTRFS_SCRUB_MOUNTPOINTS="/"
|
|
## ServiceRestart: btrfsmaintenance-refresh
|
|
#
|
|
# Frequency of periodic scrub.
|
|
+#
|
|
+# The frequency may be specified using one of the listed values or
|
|
+# in the format documented in the "Calendar Events" section of systemd.time(7),
|
|
+# if available.
|
|
BTRFS_SCRUB_PERIOD="monthly"
|
|
|
|
## Path: System/File systems/btrfs
|
|
@@ -115,6 +123,10 @@ BTRFS_SCRUB_READ_ONLY="false"
|
|
# Frequency of periodic trim. Off by default so it does not collide with
|
|
# fstrim.timer . If you do not use the timer, turn it on here. The recommended
|
|
# period is 'weekly'.
|
|
+#
|
|
+# The frequency may be specified using one of the listed values or
|
|
+# in the format documented in the "Calendar Events" section of systemd.time(7),
|
|
+# if available.
|
|
BTRFS_TRIM_PERIOD="none"
|
|
|
|
## Path: System/File systems/btrfs
|
|
--
|
|
2.16.4
|
|
|