From fc970e63673bef7907754f9cf00607eadfbcdf01 Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Fri, 12 Aug 2022 18:46:00 +0200 Subject: [PATCH] Explicitly disable bcachefs by default and add warnings in both the prompt and config file See https://github.com/Frogging-Family/linux-tkg/issues/550 Kinda fixes https://github.com/Frogging-Family/linux-tkg/issues/550 --- customization.cfg | 3 ++- linux-tkg-config/prepare | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/customization.cfg b/customization.cfg index a277242..decc318 100644 --- a/customization.cfg +++ b/customization.cfg @@ -148,7 +148,8 @@ _tickless="" _acs_override="" # Set to "true" to add Bcache filesystem support. You'll have to install bcachefs-tools-git from AUR for utilities - https://bcachefs.org/ - If in doubt, set to "false" -_bcachefs="" +# This can be buggy and isn't recommended on a production machine, also enabling this option will not allow you to enable MGLRU. +_bcachefs="false" # Set to "true" to add multi-generational LRU framework support on kernel 5.18+ - Improves memory pressure handling - https://lore.kernel.org/lkml/20220706220022.968789-1-yuzhao@google.com/ # Older kernel versions might have a patch available in the community-patches repo diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index 831351c..2c57d8b 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -1176,7 +1176,7 @@ _tkg_srcprep() { plain "" plain "Add Bcache filesystem support? You'll have to install bcachefs-tools-git from AUR for utilities." plain "https://bcachefs.org/" - warning "Enabling this option will not allow you to enable MGLRU." + warning "This can be buggy and isn't recommended on a production machine, also enabling this option will not allow you to enable MGLRU." read -rp "`echo $' > N/y : '`" CONDITION8; fi if [[ "$CONDITION8" =~ [yY] ]] || [ "$_bcachefs" = "true" ]; then