[PATCH] makedumpfile: Do not print ETA value if current progress is 0

Petr Tesarik ptesarik at suse.cz
Wed Jun 20 00:17:33 PDT 2018


Hi Lianbo,

On Wed, 20 Jun 2018 11:07:46 +0800
lijiang <lijiang at redhat.com> wrote:

> 在 2018年04月10日 15:47, Petr Tesarik 写道:
>[...]
> > Yes, the current code will not produce sensible results if the system
> > clock moves backwards. With my patch it will most likely say: ">2day".
> > But it will not work any better if you use a 64-bit integer.
> > 
> > Instead, we should be using clock_gettime(CLOCK_MONOTONIC, ...).
> > That's a separate issue that I can solve in another patch.  
> Hi, Petr
> Previously mentioned that you would solve this issue, would you have any plans
> about this issue?

Thank you for the reminder. Yes, let me do it now!

Petr T



More information about the kexec mailing list