cvs commit: src/sys/kern vfs_subr.c

Jeff Roberson jeff at FreeBSD.org
Sat Oct 4 11:03:55 PDT 2003


jeff        2003/10/04 11:03:54 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_subr.c 
  Log:
   - In sched_sync() test our preconditions prior to dropping the sync_mtx.
     This is so that we may grab the interlock while still holding the
     sync_mtx.  We have to VI_TRYLOCK() because in all other cases the lock
     order runs the other way.
   - If we don't meet any of the preconditions, reinsert the vp into the
     list for the next second.
   - We don't need to panic if we fail to sync here because each FSYNC
     function handles this case.  Removing this redundant code also
     simplifies locking.
  
  Revision  Changes    Path
  1.460     +18 -22    src/sys/kern/vfs_subr.c


More information about the cvs-src mailing list