From owner-cvs-src Mon Mar 3 16: 4:48 2003 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 5D27937B401; Mon, 3 Mar 2003 16:04:45 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D630A43F75; Mon, 3 Mar 2003 16:04:44 -0800 (PST) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2404i0U043461; Mon, 3 Mar 2003 16:04:44 -0800 (PST) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2404i80043460; Mon, 3 Mar 2003 16:04:44 -0800 (PST) Message-Id: <200303040004.h2404i80043460@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 3 Mar 2003 16:04:44 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/hpfs hpfs_alsubr.c hpfs_subr.c hpfs_vnops.c src/sys/fs/msdosfs msdosfs_fat.c msdosfs_vnops.c src/sys/fs/ntfs ntfs_subr.c src/sys/gnu/ext2fs ext2_balloc.c ext2_bmap.c ext2_inode.c ext2_vfsops.c src/sys/kern vfs_bio.c vfs_cluster.c ... X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jeff 2003/03/03 16:04:44 PST FreeBSD src repository Modified files: sys/fs/hpfs hpfs_alsubr.c hpfs_subr.c hpfs_vnops.c sys/fs/msdosfs msdosfs_fat.c msdosfs_vnops.c sys/fs/ntfs ntfs_subr.c sys/gnu/ext2fs ext2_balloc.c ext2_bmap.c ext2_inode.c ext2_vfsops.c sys/kern vfs_bio.c vfs_cluster.c sys/nfsclient nfs_bio.c sys/sys buf.h sys/ufs/ffs ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_snapshot.c ffs_softdep.c ffs_vfsops.c sys/ufs/ufs ufs_bmap.c Log: - Add a new 'flags' parameter to getblk(). - Define one flag GB_LOCK_NOWAIT that tells getblk() to pass the LK_NOWAIT flag to the initial BUF_LOCK(). This will eventually be used in cases were we want to use a buffer only if it is not currently in use. - Convert all consumers of the getblk() api to use this extra parameter. Reviwed by: arch Not objected to by: mckusick Revision Changes Path 1.3 +2 -2 src/sys/fs/hpfs/hpfs_alsubr.c 1.6 +2 -2 src/sys/fs/hpfs/hpfs_subr.c 1.43 +1 -1 src/sys/fs/hpfs/hpfs_vnops.c 1.32 +8 -5 src/sys/fs/msdosfs/msdosfs_fat.c 1.136 +2 -2 src/sys/fs/msdosfs/msdosfs_vnops.c 1.29 +1 -1 src/sys/fs/ntfs/ntfs_subr.c 1.18 +5 -5 src/sys/gnu/ext2fs/ext2_balloc.c 1.54 +1 -1 src/sys/gnu/ext2fs/ext2_bmap.c 1.40 +1 -1 src/sys/gnu/ext2fs/ext2_inode.c 1.104 +1 -1 src/sys/gnu/ext2fs/ext2_vfsops.c 1.376 +10 -5 src/sys/kern/vfs_bio.c 1.130 +4 -4 src/sys/kern/vfs_cluster.c 1.117 +3 -3 src/sys/nfsclient/nfs_bio.c 1.147 +6 -1 src/sys/sys/buf.h 1.111 +1 -1 src/sys/ufs/ffs/ffs_alloc.c 1.41 +11 -11 src/sys/ufs/ffs/ffs_balloc.c 1.87 +1 -1 src/sys/ufs/ffs/ffs_inode.c 1.63 +2 -2 src/sys/ufs/ffs/ffs_snapshot.c 1.138 +1 -1 src/sys/ufs/ffs/ffs_softdep.c 1.207 +2 -2 src/sys/ufs/ffs/ffs_vfsops.c 1.56 +1 -1 src/sys/ufs/ufs/ufs_bmap.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message