runningbufspace related lock-ups with md(4)/UFS/SU (PATCH ?)

Kirk McKusick mckusick at beastie.mckusick.com
Mon Nov 3 22:45:55 PST 2003


> To: Kirk McKusick <mckusick at mckusick.com>
> From: "Brian F. Feldman" <green at freebsd.org>
> Date: Thu, 23 Oct 2003 15:46:53 -0400
> Cc: current at freebsd.org
> Subject: Re: runningbufspace related lock-ups with md(4)/UFS/SU (PATCH ?) 
> 
> Kirk McKusick <mckusick at beastie.mckusick.com> 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 at 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 <mckusick at FreeBSD.org>
Date: Mon, 3 Nov 2003 22:30:01 -0800 (PST)
To: src-committers at FreeBSD.org, cvs-src at FreeBSD.org, cvs-all at FreeBSD.org
Subject: cvs commit: src/sys/kern vfs_bio.c
X-FreeBSD-CVS-Branch: HEAD
Sender: owner-src-committers at 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 <green at freebsd.org>
  
  Revision  Changes    Path
  1.420     +9 -5      src/sys/kern/vfs_bio.c


More information about the freebsd-current mailing list