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