From owner-freebsd-current@FreeBSD.ORG Mon Nov 3 22:45:55 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8B9816A4CE; Mon, 3 Nov 2003 22:45:55 -0800 (PST) Received: from beastie.mckusick.com (beastie.mckusick.com [209.31.233.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28EFE43F75; Mon, 3 Nov 2003 22:45:55 -0800 (PST) (envelope-from mckusick@beastie.mckusick.com) Received: from beastie.mckusick.com (localhost [127.0.0.1]) by beastie.mckusick.com (8.12.8/8.12.3) with ESMTP id hA46jreN029021; Mon, 3 Nov 2003 22:45:53 -0800 (PST) (envelope-from mckusick@beastie.mckusick.com) Message-Id: <200311040645.hA46jreN029021@beastie.mckusick.com> To: Brian Fundakowski Feldman In-Reply-To: Your message of "Thu, 23 Oct 2003 12:39:50 PDT." Date: Mon, 03 Nov 2003 22:45:53 -0800 From: Kirk McKusick cc: current@freebsd.org Subject: Re: runningbufspace related lock-ups with md(4)/UFS/SU (PATCH ?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2003 06:45:55 -0000 > To: Kirk McKusick > From: "Brian F. Feldman" > Date: Thu, 23 Oct 2003 15:46:53 -0400 > Cc: current@freebsd.org > Subject: Re: runningbufspace related lock-ups with md(4)/UFS/SU (PATCH ?) > > Kirk McKusick wrote: > > I have been able to reproduce your hang on my system and your suggested > > fix does prevent it. I am going to run some more buffer starvation-type > > tests on it this week and if they do not cause other problems, I will > > put in your suggested fix. > > Thanks, Kirk; seems everyone who's been able to reproduce it can't do so > anymore when the synchers are disallowed from waiting on runningbufspace > (a couple extra people testing it that haven't spoken up on the list). > > -- > Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ > <> green@FreeBSD.org \ The Power to Serve! \ > Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ I have put in your suggested patch to avoid the runningbufspace related lock-ups with md(4)/UFS/SU. Kirk McKusick =-=-=-=-=-= From: Kirk McKusick Date: Mon, 3 Nov 2003 22:30:01 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_bio.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org mckusick 2003/11/03 22:30:01 PST FreeBSD src repository Modified files: sys/kern vfs_bio.c Log: Allow the bufdaemon and update daemon processes to skip the waitrunningbufspace() calls so that they are always able to proceed and clean up buffer space. Submitted by: Brian Fundakowski Feldman Revision Changes Path 1.420 +9 -5 src/sys/kern/vfs_bio.c