lkml.org 
[lkml]   [2020]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: watchdog start on restart
From
Date


Le 02/09/2020 à 15:02, Ivan Mikhaylov a écrit :
> Hello everyone. Currently, the watchdog interface only has "stop watchdog on
> restart" but lacks a "start watchdog on restart" one. Is there a way to achieve
> such functionality?
>
> I'd like to know why "stop watchdog on restart" wasn't implemented via ioctl
> interface? It would be more convenient from user perspective and you can
> control that behavior whenever you want from application layer.
>
> I have some thoughts on this problem that solve the aforementioned
> issue with "start watchdog on restart" but I don't think that my solution is
> correct.
>


I don't understand why a "start watchdog on restart" would be needed.
Isn't it the default expected behaviour for a watchdog ?

"stop watchdog on restart" is there to keep things under control during
a wanted machine reboot/restart, while still having the watchdog do its
job on an unexpected restart.

What would be the advantage of an ioctl() compared to the existing way ?

Christophe

\
 
 \ /
  Last update: 2020-09-02 16:08    [W:1.070 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site