Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2004 19:17:23 +0000 (UTC)
From:      Don Lewis <truckman@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_shutdown.c
Message-ID:  <200408151917.i7FJHNCk005209@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
truckman    2004-08-15 19:17:23 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_shutdown.c 
  Log:
  Yet another tweak to the shutdown messages in boot():
  
    Don't count busy buffers before the initial call to sync() and
    don't skip the initial sync() if no busy buffers were called.
    Always call sync() at least once if syncing is requested.  This
    defers the "Syncing disks, buffers remaining..." message until
    after the initial sync() call and the first count of busy
    buffers.  This backs out changes in kern_shutdown 1.162.
  
    Print a different message when there are no busy buffers after the
    initial sync(), which is now the expected situation.
  
    Print an additional message when syncing has completed successfully
    in the unusual situation where the work of syncing was done by
    boot().
  
    Uppercase one message to make it consistent with all of the other
    kernel shutdown messages.
  
  Discussed with: bde (in a much earlier form, prior to 1.162)
  Reviewed by:    njl (in an earlier form)
  
  Revision  Changes    Path
  1.163     +12 -15    src/sys/kern/kern_shutdown.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408151917.i7FJHNCk005209>