File: 0004-disable-periodic-balance-by-default.patch

package info (click to toggle)
btrfsmaintenance 0.5-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 344 kB
  • sloc: sh: 908; python: 50; makefile: 18
file content (34 lines) | stat: -rw-r--r-- 1,149 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From: Nicholas D Steeves <sten@debian.org>
Date: Thu, 2 Mar 2023 20:00:22 -0500
Subject: disable periodic balance by default

Forwarded: no
---
 sysconfig.btrfsmaintenance | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/sysconfig.btrfsmaintenance b/sysconfig.btrfsmaintenance
index cfaa81e..0678066 100644
--- a/sysconfig.btrfsmaintenance
+++ b/sysconfig.btrfsmaintenance
@@ -44,15 +44,17 @@ BTRFS_BALANCE_MOUNTPOINTS="/"
 
 ## Path:           System/File systems/btrfs
 ## Type:           string(none,daily,weekly,monthly)
-## Default:        "weekly"
+## Default:        "none"
 ## ServiceRestart: btrfsmaintenance-refresh
 #
-# Frequency of periodic balance.
+# Frequency of periodic balance.  Periodic balance is not required,
+# nor useful, in most cases.  Cases where it is beneficial should be
+# reported upstream.
 #
 # 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"
+BTRFS_BALANCE_PERIOD="none"
 
 ## Path:        System/File systems/btrfs
 ## Type:        string