remove the upper bound of 102400T for the range in default crashkernel

Resolves: bz2045969
Upstream: Fedora
Conflict: None

commit c67a836cde781fecc8b785128132f4c8c2fd0190
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:
Coiby Xu 2022-01-26 14:40:17 +08:00
parent e943713401
commit 4e511ca370
1 changed files with 1 additions and 1 deletions

View File

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