Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2003 02:43:07 -0800 (PST)
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:  <200302161043.h1GAh7xx099438@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2003/02/16 02:43:07 PST

  Modified files:
    sys/kern             vfs_bio.c 
  Log:
   - Introduce a new function bremfreel() that does a bremfree with the buf
     queue lock already held.
   - In getblk() and flushbufqueues() use bremfreel() while we still have the
     buf queue lock held to keep the lists consistent.
   - Add LK_NOWAIT to two cases where we're essentially asserting that the bufs
     are not locked while acquiring the locks.  This will make sure that we get
     the appropriate panic() and not another one for sleeping with a lock held.
  
  Revision  Changes    Path
  1.368     +14 -8     src/sys/kern/vfs_bio.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message




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