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

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

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

mckusick    2003/11/03 22:30:01 PST

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_bio.c 
  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>
  Revision  Changes    Path
  1.420     +9 -5      src/sys/kern/vfs_bio.c

More information about the freebsd-current mailing list