Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/bees/
Date: Thu, 28 Nov 2019 16:34:56
Message-Id: 1574958874.24514666967518f0e6ce1545a4d24b9ac745d732.juippis@gentoo
1 commit: 24514666967518f0e6ce1545a4d24b9ac745d732
2 Author: Kai Krakow <hurikhan77+bgo <AT> gmail <DOT> com>
3 AuthorDate: Thu Nov 28 11:20:38 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 28 16:34:34 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24514666
7
8 sys-fs/bees: Adjust 9999 to upstream changes
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.16
11 Signed-off-by: Kai Krakow <hurikhan77+bgo <AT> gmail.com>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 sys-fs/bees/bees-9999.ebuild | 13 +++++++++++--
15 1 file changed, 11 insertions(+), 2 deletions(-)
16
17 diff --git a/sys-fs/bees/bees-9999.ebuild b/sys-fs/bees/bees-9999.ebuild
18 index 22a1b0a4888..270238c27bc 100644
19 --- a/sys-fs/bees/bees-9999.ebuild
20 +++ b/sys-fs/bees/bees-9999.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 +# Copyright 1999-2019 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=7
27 @@ -48,7 +48,16 @@ pkg_pretend() {
28 ewarn "# WARNING: CPU: 3 PID: 18172 at fs/btrfs/backref.c:1391 find_parent_nodes+0xc41/0x14e0"
29 ewarn
30 fi
31 - elog "Bees recommends to run the latest current kernel for performance and"
32 + if kernel_is -lt 5 3 4; then
33 + ewarn "With kernel versions below 5.3.4, bees may trigger a btrfs bug when running"
34 + ewarn "btrfs-balance in parallel. This may lead to meta-data corruption in the worst"
35 + ewarn "case. Especially, kernels 5.1.21 and 5.2.21 should be avoided. Kernels 5.0.x"
36 + ewarn "after 5.0.21 should be safe. In the best case, affected kernels may force"
37 + ewarn "the device RO without writing corrupted meta-data. More details:"
38 + ewarn "https://github.com/Zygo/bees/blob/master/docs/btrfs-kernel.md"
39 + ewarn
40 + fi
41 + elog "Bees recommends running the latest current kernel for performance and"
42 elog "reliability reasons, see README.md."
43 fi
44 }