Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 2003 11:03:54 -0700 (PDT)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_subr.c
Message-ID:  <200310041803.h94I3skP018719@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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