From owner-cvs-src Sun Feb 9 1:50: 0 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 4748437B401; Sun, 9 Feb 2003 01:49:57 -0800 (PST) Received: from mail.chesapeake.net (chesapeake.net [205.130.220.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2013C43F75; Sun, 9 Feb 2003 01:49:56 -0800 (PST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id h199nou56353; Sun, 9 Feb 2003 04:49:50 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Sun, 9 Feb 2003 04:49:50 -0500 (EST) From: Jeff Roberson To: Jeff Roberson Cc: src-committers@FreeBSD.org, , , Subject: Re: cvs commit: src/sys/kern vfs_bio.c In-Reply-To: <200302090947.h199lVv3053638@repoman.freebsd.org> Message-ID: <20030209044819.L50545-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Sun, 9 Feb 2003, Jeff Roberson wrote: > Log: > - Lock down the buffer cache's infrastructure code. This includes locks on > buf lists, synchronization variables, and atomic ops for the counters. > This change does not remove giant from any code although some pushdown > may be possible. > - In vfs_bio_awrite() don't access buf fields without the buf lock. One step closer.. I'm currently working on fixing all cases where bufs are accessed without locks. I also have a marked up buf.h that shows what variables are protected via what lock. I have a vop_stdfsync that replaced several duplicated and incomplete fsyncs from the tree. This will require some more testing though. Cheers, Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message