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:
@@ -148,7 +148,8 @@ _tickless=""
|
|||||||
_acs_override=""
|
_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"
|
# 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/
|
# 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
|
# Older kernel versions might have a patch available in the community-patches repo
|
||||||
|
@@ -1176,7 +1176,7 @@ _tkg_srcprep() {
|
|||||||
plain ""
|
plain ""
|
||||||
plain "Add Bcache filesystem support? You'll have to install bcachefs-tools-git from AUR for utilities."
|
plain "Add Bcache filesystem support? You'll have to install bcachefs-tools-git from AUR for utilities."
|
||||||
plain "https://bcachefs.org/"
|
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;
|
read -rp "`echo $' > N/y : '`" CONDITION8;
|
||||||
fi
|
fi
|
||||||
if [[ "$CONDITION8" =~ [yY] ]] || [ "$_bcachefs" = "true" ]; then
|
if [[ "$CONDITION8" =~ [yY] ]] || [ "$_bcachefs" = "true" ]; then
|
||||||
|
Reference in New Issue
Block a user