cvs commit: src/sys/kern vfs_subr.c
truckman at FreeBSD.org
Sun Jul 4 18:07:34 PDT 2004
truckman 2004-07-05 01:07:33 UTC
FreeBSD src repository
Rework syncer termination code:
Speed up the syncer when shutting down by sleeping for a shorter
period of time instead of cranking up rushjob and using the
normal one second sleep.
Skip empty worklist slots when shutting down to avoid lengthy
intervals of inactivity.
Give I/O more time to complete between steps by not speeding the
syncer quite as much.
Terminate the syncer after one full pass through the worklist
plus one second with the worklist containing nothing but syncer
Print an indication of shutdown progress to the console.
Add a sysctl, vfs.worklist_len, to allow the size of the syncer worklist
to be monitored.
Revision Changes Path
1.503 +79 -33 src/sys/kern/vfs_subr.c
More information about the cvs-src