From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9F219138334 for ; Sat, 30 Nov 2019 07:50:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 758C4E089E; Sat, 30 Nov 2019 07:50:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5908FE089E for ; Sat, 30 Nov 2019 07:50:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C272734D5E9 for ; Sat, 30 Nov 2019 07:50:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C964E8C7 for ; Sat, 30 Nov 2019 07:50:08 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1575100135.8f07dc522ff15c33d7b8333011902504dae46a0a.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/bees/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/bees/bees-9999.ebuild X-VCS-Directories: sys-fs/bees/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 8f07dc522ff15c33d7b8333011902504dae46a0a X-VCS-Branch: master Date: Sat, 30 Nov 2019 07:50:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3bc6fd72-d393-46d3-98e2-4f5d2531712c X-Archives-Hash: 52d34dc3361d384b40022d8280e87693 commit: 8f07dc522ff15c33d7b8333011902504dae46a0a Author: Kai Krakow kaishome de> AuthorDate: Wed Sep 18 03:24:45 2019 +0000 Commit: Joonas Niilola gentoo 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 kaishome.de> Signed-off-by: Joonas Niilola 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