[Makedumpfile Patch v3 7/7] mem-usage: allow to work only with -f for kernel version < 4.11
bhe at redhat.com
bhe at redhat.com
Thu Mar 2 19:07:35 PST 2017
On 03/03/17 at 08:18am, Pratyush Anand wrote:
>
>
> On Friday 03 March 2017 07:40 AM, Atsushi Kumagai wrote:
> > > + if (info->kernel_version < KERNEL_VERSION(4, 11, 0) &&
> > > + !info->flag_force) {
> > > + MSG("mem-usage not supported for this kernel.\n");
> > > + MSG("You can try with -f if your kernel's kcore has valid p_paddr\n");
> > > + goto out;
> > > + }
> > You forgot to set COMPLETED to retcd before goto.
> > The behavior will be different from the v2 patch.
>
>
> I had thought about it. Should not an unsupported feature be a FAILED case?
Judging from the result, it should be a failed case. People expect to
get a dumped vmcore, it failed to collect at last because of unmatched
kernel and tool.
More information about the kexec
mailing list