Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2005 10:47:04 +0000 (UTC)
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_bio.c
Message-ID:  <200501241047.j0OAl4sc031781@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2005-01-24 10:47:04 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_bio.c 
  Log:
   - Add CTR calls to trace the lifecycle of a buffer.
   - Remove some KASSERTs which are invalid if the appropriate lock is
     not held.
   - Slightly restructure bremfree() so that it is more sane.
   - Change the flush code in bdwrite() to avoid acquiring a mutex
     whenever possible.
   - Change the flush code in bdwrite() to avoid holding the bufobj mutex
     while calling buf_countdeps().  This introduces a lock-order
     relationship with the softdep lock that can not otherwise be resolved.
   - Don't set B_DONE until bufdone() is complete, otherwise another
     processor may believe the buf is done before it is.
   - Only acquire Giant if the caller has set b_iodone.  Don't grab giant
     around normal bufdone() calls.
  
  Sponsored By:   Isilon Systems, Inc.
  
  Revision  Changes    Path
  1.472     +84 -79    src/sys/kern/vfs_bio.c



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