Date: Fri, 31 Mar 2006 02:56:30 +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/sys buf.h src/sys/kern vfs_bio.c vfs_subr.c Message-ID: <200603310256.k2V2uUc9015547@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603310256.k2V2uUc9015547>
