false positives now) and clear all previously saved toxic extent bits.
* **dedupe breaks `btrfs send` in old kernels**. The bees option
- `--workaround-btrfs-send` prevents any modification of read-only subvols
- in order to avoid breaking `btrfs send` on kernels before 5.2.
+ [`scan.subvol.workaround-btrfs-send`](config-file.md#scansubvol-section)
+ prevents any modification of read-only subvols in order to avoid breaking
+ `btrfs send` on kernels before 5.2.
This workaround is no longer necessary to avoid kernel crashes and
send performance failure on kernel 5.4.4 and later. bees will pause
Scanning modes
--------------
-The `--scan-mode` option affects how bees iterates over the filesystem,
-schedules extents for scanning, and tracks progress.
+The scan mode affects how bees iterates over the filesystem, schedules
+extents for scanning, and tracks progress. It is selected by the
+[`[scan.subvol]`](config-file.md#scansubvol-section) and
+[`[scan.extent.*]`](config-file.md#scanextent-sections) configuration
+sections.
There are now two kinds of scan mode: the legacy **subvol** scan modes,
and the new **extent** scan mode.
-Scan mode can be changed by restarting bees with a different scan mode
-option.
+Scan mode can be changed by restarting bees with a different scan
+configuration.
Extent scan mode:
the subvol scan modes are equivalent. In this case, there is only one
subvolume to scan, so every possible ordering of subvols is the same.
-The `--workaround-btrfs-send` option pauses scanning subvols that are
-read-only. If the subvol is made read-write (e.g. with `btrfs prop set
-$subvol ro false`), or if the `--workaround-btrfs-send` option is removed,
-then the scan of that subvol is unpaused and dedupe proceeds normally.
+The [`scan.subvol.workaround-btrfs-send`](config-file.md#scansubvol-section)
+option pauses scanning subvols that are read-only. If the subvol is made
+read-write (e.g. with `btrfs prop set $subvol ro false`), or if
+`scan.subvol.workaround-btrfs-send` is disabled, then the scan of that subvol
+is unpaused and dedupe proceeds normally.
Space will only be recovered when the last read-only subvol is deleted.
Subvol scan modes cannot efficiently or accurately calculate an ETA for
the old `beescrawl.dat` format is automatically migrated to
`beespoint.ini`.
-The `--workaround-btrfs-send` option behaves differently in extent
-scan modes: In extent scan mode, dedupe proceeds on all subvols that are
+The [`scan.subvol.workaround-btrfs-send`](config-file.md#scansubvol-section)
+option behaves differently in extent scan modes: In extent scan mode, dedupe proceeds on all subvols that are
read-write, but all subvols that are read-only are excluded from dedupe.
Space will only be recovered when the last read-only subvol is deleted.
Log verbosity
-------------
-bees can be made less chatty with the [`--verbose` option](options.md).
+bees can be made less chatty with the [`log.level` option](config-file.md#log-section).
on quiescent filesystems and more often on busy filesystems.
Scanning and deduplication work is performed by worker threads. If the
-[`--loadavg-target` option](options.md) is used, bees adjusts the number
+[`thread.loadavg-target` option](config-file.md#thread-section) is used, bees adjusts the number
of worker threads up or down as required to have a user-specified load
impact on the system. The maximum and minimum number of threads is
configurable. If the system load is too high then bees will stop until
### Use load-throttling options
If bees is just more aggressive than you would like, consider using
- [load throttling options](options.md). These are usually more effective
+ [load throttling settings](config.md#threads-and-load-management). These are usually more effective
than `ionice`, `schedtool`, and the `blkio` cgroup (though you can
certainly use those too) because they limit work that bees queues up
for later execution inside btrfs.