cvs commit: src/sys/sys buf.h src/sys/kern vfs_bio.c vfs_subr.c

Jeff Roberson jeff at FreeBSD.org
Fri Mar 31 02:56:31 UTC 2006


jeff        2006-03-31 02:56:30 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              buf.h 
    sys/kern             vfs_bio.c vfs_subr.c 
  Log:
   - Add the B_NEEDSGIANT flag which is only set if the vnode that owns a buf
     requires Giant.  It is set in bgetvp and cleared in brelvp.
   - Create QUEUE_DIRTY_GIANT for dirty buffers that require giant.
   - In the buf daemon, only grab giant when processing QUEUE_DIRTY_GIANT and
     only if we think there are buffers in that queue.
  
  Sponsored by:   Isilon Systems, Inc.
  
  Revision  Changes    Path
  1.505     +35 -16    src/sys/kern/vfs_bio.c
  1.666     +3 -0      src/sys/kern/vfs_subr.c
  1.193     +1 -1      src/sys/sys/buf.h


More information about the cvs-src mailing list