From owner-cvs-src@FreeBSD.ORG Fri Mar 31 02:56:31 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5568216A420; Fri, 31 Mar 2006 02:56:31 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAC2F43D55; Fri, 31 Mar 2006 02:56:30 +0000 (GMT) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k2V2uUnl015548; Fri, 31 Mar 2006 02:56:30 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2V2uUc9015547; Fri, 31 Mar 2006 02:56:30 GMT (envelope-from jeff) Message-Id: <200603310256.k2V2uUc9015547@repoman.freebsd.org> From: Jeff Roberson Date: Fri, 31 Mar 2006 02:56:30 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/sys buf.h src/sys/kern vfs_bio.c vfs_subr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 02:56:31 -0000 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