66# 'btrfs-scrub' etc.
77BTRFS_LOG_OUTPUT="stdout"
88
9+ ## Path: System/File systems/btrfs
10+ ## Type: number
11+ ## Default: 3600
12+ #
13+ # Second to wait the AC Power before to continue anyway
14+ BTRFS_AC_POWER_TIMEOUT=3600
15+
16+ ## Path: System/File systems/btrfs
17+ ## Type: string
18+ ## Default: "/sys/class/power_supply/*/online"
19+ #
20+ # Path of AC status flag
21+ BTRFS_AC_POWER_DEVICE="/sys/class/power_supply/*/online"
22+
923## Path: System/File systems/btrfs
1024## Type: string
1125## Default: ""
@@ -31,6 +45,14 @@ BTRFS_DEFRAG_PERIOD="none"
3145# Minimal file size to consider for defragmentation
3246BTRFS_DEFRAG_MIN_SIZE="+1M"
3347
48+ ## Path: System/File systems/btrfs
49+ ## Type: boolean
50+ ## Default: "false"
51+ #
52+ # Wait AC Power before defrag
53+ BTRFS_DEFRAG_WAIT_AC_POWER="false"
54+
55+
3456## Path: System/File systems/btrfs
3557## Type: string
3658## Default: "/"
@@ -72,6 +94,13 @@ BTRFS_BALANCE_DUSAGE="1 5 10 20 30 40 50"
7294# this will increase IO load on the system.
7395BTRFS_BALANCE_MUSAGE="1 5 10 20 30"
7496
97+ ## Path: System/File systems/btrfs
98+ ## Type: boolean
99+ ## Default: "false"
100+ #
101+ # Wait AC Power before balance
102+ BTRFS_BALANCE_WAIT_AC_POWER="false"
103+
75104## Path: System/File systems/btrfs
76105## Type: string
77106## Default: "/"
@@ -104,6 +133,13 @@ BTRFS_SCRUB_PRIORITY="idle"
104133# Do read-only scrub and don't try to repair anything.
105134BTRFS_SCRUB_READ_ONLY="false"
106135
136+ ## Path: System/File systems/btrfs
137+ ## Type: boolean
138+ ## Default: "false"
139+ #
140+ # Wait AC Power before scrub
141+ BTRFS_SCRUB_WAIT_AC_POWER="false"
142+
107143## Path: System/File systems/btrfs
108144## Description: Configuration for periodic fstrim
109145## Type: string(none,daily,weekly,monthly)
@@ -124,3 +160,10 @@ BTRFS_TRIM_PERIOD="none"
124160# (Colon separated paths)
125161# The special word/mountpoint "auto" will evaluate all mounted btrfs filesystems at runtime
126162BTRFS_TRIM_MOUNTPOINTS="/"
163+
164+ ## Path: System/File systems/btrfs
165+ ## Type: boolean
166+ ## Default: "false"
167+ #
168+ # Wait AC Power before trim
169+ BTRFS_TRIM_WAIT_AC_POWER="false"
0 commit comments