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
This commit is contained in:
Tk-Glitch
2022-08-12 18:46:00 +02:00
parent c4de67201c
commit fc970e6367
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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