remove the upper bound of 102400T for the range in default crashkernel
Resolves: bz2045969 Upstream: Fedora Conflict: None commitc67a836cde
Author: Coiby Xu <coxu@redhat.com> Date: Tue Jan 25 16:16:58 2022 +0800 remove the upper bound of 102400T for the range in default crashkernel This patch makes the default crashkernel value consistent with previous one. Fixes:105c016
("factor out kdump_get_arch_recommend_crashkernel") Signed-off-by: Coiby Xu <coxu@redhat.com> Reviewed-by: Philipp Rudo <prudo@redhat.com> Signed-off-by: Coiby Xu <coxu@redhat.com>
This commit is contained in:
parent
e943713401
commit
4e511ca370
@ -861,7 +861,6 @@ kdump_get_arch_recommend_crashkernel()
|
||||
fi
|
||||
fi
|
||||
|
||||
_ck_cmdline=${_ck_cmdline//-:/-102400T:}
|
||||
echo -n "$_ck_cmdline"
|
||||
}
|
||||
|
||||
@ -877,6 +876,7 @@ kdump_get_arch_recommend_size()
|
||||
fi
|
||||
sys_mem=$(get_system_size)
|
||||
_ck_cmdline=$(kdump_get_arch_recommend_crashkernel)
|
||||
_ck_cmdline=${_ck_cmdline//-:/-102400T:}
|
||||
get_recommend_size "$sys_mem" "$ck_cmdline"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user