32 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
0653abd091 Accepting request 1156387 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1156387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bees?expand=0&rev=10
2024-03-08 17:12:22 +00:00
David Sterba
94e705446e Accepting request 1156011 from home:mlin7442:rebuild_fails_156
fix Leap build

OBS-URL: https://build.opensuse.org/request/show/1156011
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=28
2024-03-08 14:27:33 +00:00
4e14732612 Accepting request 1100400 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1100400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bees?expand=0&rev=9
2023-07-25 09:51:13 +00:00
David Sterba
aac546f2cf Accepting request 1100390 from home:fcrozat:branches:filesystems
- Update to 0.10:
 * Update kernel bugs list to 6.4.1
 * Update docs
 * Build fixes for GCC 13 and clang 16
- Drop avoid-swap.patch, no longer needed.

OBS-URL: https://build.opensuse.org/request/show/1100390
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=26
2023-07-24 13:57:50 +00:00
2f36a83a2f Accepting request 1077138 from filesystems
- update to 0.9.3:
  * roots: don't share a RootFetcher between threads
  * seeker: fix the test for ILP32 platforms
  * reduce memory usage with long-running work items
  * allow BtrfsIoctlLogicalInoArgs to be reused, remove virtual methods
  * create a Pool of BtrfsIoctlLogicalInoArgs objects 
- add avoid-swap.patch to fix build with gcc 13

OBS-URL: https://build.opensuse.org/request/show/1077138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bees?expand=0&rev=8
2023-04-04 19:26:21 +00:00
91fd17ea0a - update to 0.9.3:
* roots: don't share a RootFetcher between threads
  * seeker: fix the test for ILP32 platforms
  * reduce memory usage with long-running work items
  * allow BtrfsIoctlLogicalInoArgs to be reused, remove virtual methods
  * create a Pool of BtrfsIoctlLogicalInoArgs objects 
- add avoid-swap.patch to fix build with gcc 13

OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=24
2023-04-04 07:01:19 +00:00
57d348df01 Accepting request 1071831 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1071831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bees?expand=0&rev=7
2023-03-15 17:54:27 +00:00
David Sterba
5f07b8b4a5 Accepting request 1071031 from home:Thaodan:filesystems
- Removed patch: fix-Makefile-version.diff, replaced with make parameter.

OBS-URL: https://build.opensuse.org/request/show/1071031
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=22
2023-03-14 16:07:37 +00:00
9e269ad818 Accepting request 1065809 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1065809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bees?expand=0&rev=6
2023-02-15 12:40:11 +00:00
David Sterba
b68acd764a Accepting request 1065673 from home:akumar:branches:filesystems
- update to 0.9.1:
  * Fix the install target.
  * Makefile: also drop fiemap and fiewalk from main Makefile
- update to 0.9:
  - Highlights:
    * Work around a kernel bug which can be triggered by running the
      LOGICAL_INO ioctl and dedupe on the same extent at the same time.
    * Prevent worker threads from being blocked by extent and inode
      locks.  Defer the blocked item and find something else for that
      worker thread to do.
    * Fix the labelling of threads so they aren't all "task_consumer".
    * Speed up SIGTERM process termination to have a better chance of
      flushing the hash table and crawl state to $BEESHOME before the
      process is killed by a service timeout.
    * Reduce the hash table writeback rate to 128K/s.
    * Reduce the interval between crawl restarts to one transid.
    * Add 'recent' scan mode, which dedupes new data in fully scanned
      subvols instead of waiting for every old subvol to be scanned.
    * Better behavior when there are write errors in $BEESHOME.
    * Drop the unused and obsolete `fiemap` and `fiewalk` binaries.

OBS-URL: https://build.opensuse.org/request/show/1065673
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=20
2023-02-14 20:33:35 +00:00
bf5015e8a5 Accepting request 1040264 from filesystems
- update to 0.8:
  * fs: make dedupe work again after a really unfortunate build fix

OBS-URL: https://build.opensuse.org/request/show/1040264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bees?expand=0&rev=5
2022-12-05 17:02:13 +00:00
4caabe1447 OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=18 2022-12-05 12:43:12 +00:00
250211a9b9 - update to 0.8:
* fs: make dedupe work again after a really unfortunate build fix

OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=17
2022-12-05 12:43:06 +00:00
177da69fea Accepting request 1031346 from filesystems
- update to 0.7 git 5953ea6d3c5646 (20221025)
- build fixes
- Removed patch: 0001-fs-fix-FIEMAP_MAX_OFFSET-type-silliness-in-fiemap.h.patch (forwarded request 1031345 from dsterba)

OBS-URL: https://build.opensuse.org/request/show/1031346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bees?expand=0&rev=4
2022-10-26 14:08:39 +00:00
David Sterba
90f029c18d Accepting request 1031345 from home:dsterba:branches:filesystems
- update to 0.7 git 5953ea6d3c5646 (20221025)
- build fixes
- Removed patch: 0001-fs-fix-FIEMAP_MAX_OFFSET-type-silliness-in-fiemap.h.patch

OBS-URL: https://build.opensuse.org/request/show/1031345
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=15
2022-10-26 13:06:04 +00:00
c6cddbd838 Accepting request 1001259 from filesystems
fix build on ppc64le (forwarded request 1001258 from dsterba)

OBS-URL: https://build.opensuse.org/request/show/1001259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bees?expand=0&rev=3
2022-09-05 19:22:15 +00:00
David Sterba
8cce723b22 Accepting request 1001258 from home:dsterba:branches:filesystems
fix build on ppc64le

OBS-URL: https://build.opensuse.org/request/show/1001258
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=13
2022-09-05 11:45:51 +00:00
dfc01d8f33 Accepting request 923550 from filesystems
- Update to 0.7 (forwarded request 923546 from dsterba)

OBS-URL: https://build.opensuse.org/request/show/923550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bees?expand=0&rev=2
2021-10-06 17:50:04 +00:00
David Sterba
cb6abafea8 Accepting request 923546 from home:dsterba:branches:filesystems
- Update to 0.7

OBS-URL: https://build.opensuse.org/request/show/923546
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=12
2021-10-06 15:28:36 +00:00
51457e6ed1 Accepting request 897427 from filesystems
Deduplication tool for btrfs.

OBS-URL: https://build.opensuse.org/request/show/897427
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bees?expand=0&rev=1
2021-06-04 20:43:07 +00:00
David Sterba
5efb15d047 spec subject minor update
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=10
2021-06-04 12:05:19 +00:00
David Sterba
f0eac9245b fixup sample file
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=9
2021-06-04 11:58:35 +00:00
David Sterba
9e1c1de29b Accepting request 892973 from home:dsterba:branches:filesystems
- spec: remove empty sections, unify make

OBS-URL: https://build.opensuse.org/request/show/892973
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=8
2021-05-13 23:38:09 +00:00
David Sterba
dd06e0b475 Accepting request 892698 from home:dsterba:branches:filesystems
- Update to 0.6.5

OBS-URL: https://build.opensuse.org/request/show/892698
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=7
2021-05-13 15:08:50 +00:00
David Sterba
7286929a4c clean up build steps
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=6
2020-09-17 16:24:02 +00:00
David Sterba
3ad52b2de7 fix build
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=5
2020-09-14 17:41:58 +00:00
David Sterba
1d73c9a8c2 fix build
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=4
2020-09-14 17:39:11 +00:00
David Sterba
3cd6a66b7a add Group
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=3
2020-09-14 17:35:20 +00:00
David Sterba
8bbc39d122 remove markdown dependency
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=2
2020-09-14 17:31:18 +00:00
David Sterba
a729e9ece0 Accepting request 834339 from home:dsterba:new
new package, a popular deduplication tool for btrfs

OBS-URL: https://build.opensuse.org/request/show/834339
OBS-URL: https://build.opensuse.org/package/show/filesystems/bees?expand=0&rev=1
2020-09-14 17:07:31 +00:00