From owner-cvs-all Mon Jun 28 22:59:52 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0201E152B0; Mon, 28 Jun 1999 22:59:49 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA09107; Mon, 28 Jun 1999 22:59:49 -0700 (PDT) (envelope-from peter@FreeBSD.org) Message-Id: <199906290559.WAA09107@freefall.freebsd.org> From: Peter Wemm Date: Mon, 28 Jun 1999 22:59:49 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_bio.c vfs_cluster.c src/sys/sys buf.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk peter 1999/06/28 22:59:49 PDT Modified files: sys/kern vfs_bio.c vfs_cluster.c sys/sys buf.h Log: Hopefully fix the remaining glitches with the BUF_*() changes. This should (really this time) fix pageout to swap and a couple of clustering cases. This simplifies BUF_KERNPROC() so that it unconditionally reassigns the lock owner rather than testing B_ASYNC and having the caller decide when to do the reassign. At present this is required because some places use B_CALL/b_iodone to free the buffers without B_ASYNC being set. Also, vfs_cluster.c explicitly calls BUF_KERNPROC() when attaching the buffers rather than the parent walking the cluster_head tailq. Reviewed by: Kirk McKusick Revision Changes Path 1.219 +3 -2 src/sys/kern/vfs_bio.c 1.85 +11 -3 src/sys/kern/vfs_cluster.c 1.74 +2 -11 src/sys/sys/buf.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message