commit: 8f07dc522ff15c33d7b8333011902504dae46a0a
Author: Kai Krakow <kai <AT> kaishome <DOT> de>
AuthorDate: Wed Sep 18 03:24:45 2019 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Nov 30 07:48:55 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f07dc52
sys-fs/bees: Adjust -9999 for current upstream changes
Signed-off-by: Kai Krakow <kai <AT> kaishome.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
sys-fs/bees/bees-9999.ebuild | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/sys-fs/bees/bees-9999.ebuild b/sys-fs/bees/bees-9999.ebuild
index 270238c27bc..0bfb2654d89 100644
--- a/sys-fs/bees/bees-9999.ebuild
+++ b/sys-fs/bees/bees-9999.ebuild
@@ -22,7 +22,7 @@ IUSE="tools"
DEPEND="
>=sys-apps/util-linux-2.30.2
- >=sys-fs/btrfs-progs-4.1
+ >=sys-fs/btrfs-progs-4.20.2
"
RDEPEND="${DEPEND}"
@@ -48,6 +48,7 @@ pkg_pretend() {
ewarn "# WARNING: CPU: 3 PID: 18172 at
fs/btrfs/backref.c:1391 find_parent_nodes+0xc41/0x14e0"
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"
ewarn "btrfs-balance in parallel. This may lead to
meta-data corruption in the worst"
@@ -57,6 +58,16 @@ pkg_pretend() {
ewarn
"https://github.com/Zygo/bees/blob/master/docs/btrfs-kernel.md"
ewarn
fi
+
+ if kernel_is -lt 5 0 4; then
+ ewarn "IMPORTANT: With kernel versions below 5.0.4, you
may experience data corruption"
+ ewarn "due to bees using compression in btrfs. You are
adviced to use a chronologically"
+ ewarn "later kernel, that includes older LTS versions
released after 5.0.4:"
+ ewarn "Fixed in: 5.1+, 5.0.4+, 4.19.31+, 4.14.108+,
4.9.165+, 4.4.177+, 3.18.137+"
+ ewarn "# commit 8e92821 btrfs: fix corruption reading
shared and compressed extents after hole punching"
+ ewarn
+ fi
+
elog "Bees recommends running the latest current kernel for
performance and"
elog "reliability reasons, see README.md."
fi