cvs commit: src/sbin/fsck_ffs fsutil.c

Scott Long scottl at FreeBSD.org
Tue May 18 16:12:39 PDT 2004


scottl      2004/05/18 12:51:42 PDT

  FreeBSD src repository

  Modified files:
    sbin/fsck_ffs        fsutil.c 
  Log:
  Improve the delay algorithm used in bgfsck.  From the author:
  
   shuffles the timing and sleep calls in bgfsck from:
  
   sleep timer_on io timer_off io io io io io io io
     to
   sleep io io io io io io io timer_on io timer_off
  
   The original method basically guaranteed that the timed I/O included a
   disk seek every time, which made bgfsck sleep for much longer than
   necessary.
  
  Submitted by:   Dan Nelson
  Reviewed by:    kirk
  
  Revision  Changes    Path
  1.24      +6 -4      src/sbin/fsck_ffs/fsutil.c


More information about the cvs-src mailing list