diff options
author | Kai Krakow <kai@kaishome.de> | 2019-09-18 05:24:45 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-11-30 09:48:55 +0200 |
commit | 8f07dc522ff15c33d7b8333011902504dae46a0a (patch) | |
tree | 67f38fe2a27ce75c6e76cea5497d301328bfae48 | |
parent | app-text/llpp: snapshot version 30<v<31 (diff) | |
download | gentoo-8f07dc522ff15c33d7b8333011902504dae46a0a.tar.gz gentoo-8f07dc522ff15c33d7b8333011902504dae46a0a.tar.bz2 gentoo-8f07dc522ff15c33d7b8333011902504dae46a0a.zip |
sys-fs/bees: Adjust -9999 for current upstream changes
Signed-off-by: Kai Krakow <kai@kaishome.de>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r-- | sys-fs/bees/bees-9999.ebuild | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sys-fs/bees/bees-9999.ebuild b/sys-fs/bees/bees-9999.ebuild index 270238c27bcd..0bfb2654d893 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 |