2 Commits

Author SHA256 Message Date
24d062ff1c Accepting request 1293838 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1293838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bees?expand=0&rev=11
2025-07-17 15:18:39 +00:00
David Sterba
e5d2707924 - Update to 0.11:
* Introduce *extent scan mode* that scans the extent tree directly. It is the
    new default scan mode.
  * Show estimated data size and expected time to finish scanning in logs and
    status outputs.
  * Smarter dedupe criteria that prevents dedupe operations that save less than
    half the blocks in an extent or require more than 100 copy/dedupe operations
    to free space.
  * Add the new dynamic rate throttling option `--throttle-factor` to estimate
    the rate at which the kernel deletes extents and slow down dedupe requests
    to match this rate.
  * Threads now dynamically redistribute their work so that they can make
    continuous progress without waiting for each other.
  * Remove excessively costly "toxic extent" workarounds yielding up to
    100x–1000x speed boost on some workloads.
  * Coordinate between threads to prevent thrashing during disk reads.
  * Prefetche data into page-cache before dedupe calls.
  * Submit full-extent dedupe operations, avoiding obsolete 16M kernel limits.
  * Reduce the size of `ioctl` buffers, which avoids forcing the kernel to
    evict pages from memory to accommodate large buffers.
  * Limit reference counts for very frequently duplicated data, which avoids
    performance issues in btrfs (even when bees is not running).
  * Use the new `openat2` system call for improved robustness against rename and
    symlink attacks.
  * Use a private mount namespace for isolation even without `systemd`.
  * Recude warning and debug log verbosity.
  * `SIGUSR1` and `SIGUSR2` signals allow bees to be paused and unpaused without
    preventing bees from closing open files and subvols during the pause.
  * It is now safe to locate `$BEESHOME` on filesystems such as XFS that lack
    data flushing on `rename`.
  * Fix 32-bit `ioctl` compatibility for mixed 32/64-bit systems.
  * Detect a `btrfs send` in progress, and wait for it to complete
    automatically. `--workaround-btrfs-send` is no longer necessary when used
    with extent scan mode.

OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=30
2025-07-16 14:34:37 +00:00
4 changed files with 44 additions and 5 deletions

View File

@@ -1,3 +1,42 @@
-------------------------------------------------------------------
Wed Jul 16 10:35:23 UTC 2025 - Gerald Chen <gerald_chen@foxmail.com>
- Update to 0.11:
* Introduce *extent scan mode* that scans the extent tree directly. It is the
new default scan mode.
* Show estimated data size and expected time to finish scanning in logs and
status outputs.
* Smarter dedupe criteria that prevents dedupe operations that save less than
half the blocks in an extent or require more than 100 copy/dedupe operations
to free space.
* Add the new dynamic rate throttling option `--throttle-factor` to estimate
the rate at which the kernel deletes extents and slow down dedupe requests
to match this rate.
* Threads now dynamically redistribute their work so that they can make
continuous progress without waiting for each other.
* Remove excessively costly "toxic extent" workarounds yielding up to
100x1000x speed boost on some workloads.
* Coordinate between threads to prevent thrashing during disk reads.
* Prefetche data into page-cache before dedupe calls.
* Submit full-extent dedupe operations, avoiding obsolete 16M kernel limits.
* Reduce the size of `ioctl` buffers, which avoids forcing the kernel to
evict pages from memory to accommodate large buffers.
* Limit reference counts for very frequently duplicated data, which avoids
performance issues in btrfs (even when bees is not running).
* Use the new `openat2` system call for improved robustness against rename and
symlink attacks.
* Use a private mount namespace for isolation even without `systemd`.
* Recude warning and debug log verbosity.
* `SIGUSR1` and `SIGUSR2` signals allow bees to be paused and unpaused without
preventing bees from closing open files and subvols during the pause.
* It is now safe to locate `$BEESHOME` on filesystems such as XFS that lack
data flushing on `rename`.
* Fix 32-bit `ioctl` compatibility for mixed 32/64-bit systems.
* Detect a `btrfs send` in progress, and wait for it to complete
automatically. `--workaround-btrfs-send` is no longer necessary when used
with extent scan mode.
-------------------------------------------------------------------
Thu Mar 7 15:05:28 UTC 2024 - Max Lin <mlin@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package bees
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: bees
Version: 0.10
Version: 0.11
Release: 0
Summary: Best-Effort Extent-Same, a btrfs deduplication agent
License: GPL-3.0-only

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d100efbc6084f494400892ef53fa476fd6f201dba3b2fddee11ef90dd9d6111d
size 177509

3
v0.11.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:191caa0d6557f346fec1585743c8b76ca4a40bd6462660a45ec7888753a5cd41
size 198122