Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2003 23:31:46 -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/fs/specfs spec_vnops.c src/sys/kern kern_physio.c vfs_bio.c src/sys/sys buf.h
Message-ID:  <200303130731.h2D7VkOi003671@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2003/03/12 23:31:46 PST

  FreeBSD src repository

  Modified files:
    sys/fs/specfs        spec_vnops.c 
    sys/kern             kern_physio.c vfs_bio.c 
    sys/sys              buf.h 
  Log:
   - Add a lock for protecting against msleep(bp, ...) wakeup(bp) races.
   - Create a new function bdone() which sets B_DONE and calls wakup(bp). This
     is suitable for use as b_iodone for buf consumers who are not going
     through the buf cache.
   - Create a new function bwait() which waits for the buf to be done at a set
     priority and with a specific wmesg.
   - Replace several cases where the above functionality was implemented
     without locking with the new functions.
  
  Revision  Changes    Path
  1.199     +2 -17     src/sys/fs/specfs/spec_vnops.c
  1.56      +5 -9      src/sys/kern/kern_physio.c
  1.378     +37 -10    src/sys/kern/vfs_bio.c
  1.149     +2 -0      src/sys/sys/buf.h

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?200303130731.h2D7VkOi003671>