From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/bees/
Date: Sat, 17 Dec 2022 19:33:16 +0000 (UTC) [thread overview]
Message-ID: <1671305583.1ba47810aea68961a434cc4e7c7517b1b51f2d58.sam@gentoo> (raw)
commit: 1ba47810aea68961a434cc4e7c7517b1b51f2d58
Author: Kai Krakow <kai <AT> kaishome <DOT> de>
AuthorDate: Sat Dec 17 11:31:16 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 17 19:33:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ba47810
sys-fs/bees: update 9999
Signed-off-by: Kai Krakow <kai <AT> kaishome.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-fs/bees/bees-9999.ebuild | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/sys-fs/bees/bees-9999.ebuild b/sys-fs/bees/bees-9999.ebuild
index 7fffe63931c2..5ceba33ee963 100644
--- a/sys-fs/bees/bees-9999.ebuild
+++ b/sys-fs/bees/bees-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -42,6 +42,12 @@ pkg_pretend() {
ewarn "with more recent kernels:"
ewarn "# WARNING: CPU: 3 PID: 18172 at fs/btrfs/backref.c:1391 find_parent_nodes+0xc41/0x14e0"
ewarn
+ elif kernel_is -lt 5 7 0; then
+ ewarn "With kernel versions below 5.4.96 and 5.7, the kernel may hold file system"
+ ewarn "locks for a long time while at the same time CPU usage increases when bees is"
+ ewarn "operating. bees tries to avoid this behavior by excluding very common extents"
+ ewarn "from deduplication. This has only a minimal impact on dedupe effectiveness."
+ ewarn
fi
if kernel_is -lt 5 1 0; then
ewarn "IMPORTANT: With kernel versions below 5.1.0, you may experience data corruption"
@@ -51,8 +57,8 @@ pkg_pretend() {
ewarn "# commit 8e92821 btrfs: fix corruption reading shared and compressed extents after hole punching"
ewarn
fi
- if kernel_is -lt 5 3 4; then
- ewarn "With kernel versions below 5.3.4, bees may trigger a btrfs bug when running"
+ if kernel_is -lt 5 4 19; then
+ ewarn "With kernel versions below 5.4.19, bees may trigger a btrfs bug when running"
ewarn "btrfs-balance in parallel. This may lead to meta-data corruption in the worst"
ewarn "case. Especially, kernels 5.1.21 and 5.2.21 should be avoided. Kernels 5.0.x"
ewarn "after 5.0.21 should be safe. In the best case, affected kernels may force"
@@ -60,6 +66,14 @@ pkg_pretend() {
ewarn "https://github.com/Zygo/bees/blob/master/docs/btrfs-kernel.md"
ewarn
fi
+ if kernel_is -ge 5 4 0; then
+ ewarn "With kernel version 5.4 or later, the kernel may hang when multiple threads"
+ ewarn "are running LOGICAL_INO and dedupe ioctl. This is not exclusively triggered"
+ ewarn "by bees but also other software running such operations, bees will just more"
+ ewarn "likely to trigger the bug. You can work around this issue by reducing the"
+ ewarn "thread count of bees to 1."
+ ewarn
+ fi
elog "Bees recommends running the latest current kernel for performance and"
elog "reliability reasons, see README.md."
next reply other threads:[~2022-12-17 19:33 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-17 19:33 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-20 3:36 [gentoo-commits] repo/gentoo:master commit in: sys-fs/bees/ Sam James
2025-01-20 3:36 Sam James
2025-01-20 3:36 Sam James
2024-12-01 16:15 Sam James
2024-08-08 14:12 Joonas Niilola
2023-12-28 14:58 Sam James
2023-09-27 10:11 Joonas Niilola
2023-07-10 3:54 Sam James
2023-07-10 3:53 Sam James
2023-07-10 3:53 Sam James
2023-07-10 3:53 Sam James
2023-07-10 3:53 Sam James
2023-07-07 2:20 Sam James
2023-02-09 13:33 Joonas Niilola
2023-02-09 13:33 Joonas Niilola
2023-02-09 13:33 Joonas Niilola
2023-02-09 13:33 Joonas Niilola
2023-02-09 13:33 Joonas Niilola
2022-12-17 19:33 Sam James
2022-12-17 19:33 Sam James
2022-12-17 19:33 Sam James
2022-05-30 7:38 Sam James
2021-07-09 0:11 Ionen Wolkens
2021-07-07 18:47 Ionen Wolkens
2021-07-07 18:47 Ionen Wolkens
2021-01-04 13:56 Joonas Niilola
2021-01-04 13:56 Joonas Niilola
2020-11-07 20:04 Sam James
2019-11-30 7:50 Joonas Niilola
2019-11-30 7:50 Joonas Niilola
2019-11-28 16:34 Joonas Niilola
2019-11-28 16:34 Joonas Niilola
2019-06-18 5:40 Michał Górny
2019-06-18 5:40 Michał Górny
2018-10-01 8:01 Georgy Yakovlev
2018-10-01 8:01 Georgy Yakovlev
2018-09-29 20:08 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1671305583.1ba47810aea68961a434cc4e7c7517b1b51f2d58.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox