]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add the watchdogs patting during the (shutdown time) disk syncing and
authorattilio <attilio@FreeBSD.org>
Thu, 28 Apr 2011 16:02:05 +0000 (16:02 +0000)
committerattilio <attilio@FreeBSD.org>
Thu, 28 Apr 2011 16:02:05 +0000 (16:02 +0000)
commitd685681d59c6feed493660adbeb6140c4fdab936
treea77ab94179765e48d467fa200110ca442367a27e
parent3f732e147ff863c0e7572174a1a11f2e1f7c7053
Add the watchdogs patting during the (shutdown time) disk syncing and
disk dumping.
With the option SW_WATCHDOG on, these operations are doomed to let
watchdog fire, fi they take too long.

I implemented the stubs this way because I really want wdog_kern_*
KPI to not be dependant by SW_WATCHDOG being on (and really, the option
only enables watchdog activation in hardclock) and also avoid to
call them when not necessary (avoiding not-volountary watchdog
activations).

Sponsored by: Sandvine Incorporated
Discussed with: emaste, des
MFC after: 2 weeks
sys/amd64/amd64/minidump_machdep.c
sys/arm/arm/dump_machdep.c
sys/arm/arm/minidump_machdep.c
sys/i386/i386/minidump_machdep.c
sys/ia64/ia64/dump_machdep.c
sys/kern/kern_shutdown.c
sys/kern/vfs_subr.c
sys/mips/mips/dump_machdep.c
sys/powerpc/powerpc/dump_machdep.c
sys/x86/x86/dump_machdep.c