Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 2010 20:29:09 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern vfs_bio.c vfs_subr.c
Message-ID:  <201009132029.o8DKTL7H021825@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2010-09-13 20:29:09 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/kern             vfs_bio.c vfs_subr.c 
  Log:
  SVN rev 212583 on 2010-09-13 20:29:09Z by kib
  
  MFC r211213:
  The buffers b_vflags field is not always properly protected by
  bufobj lock. If b_bufobj is not NULL, then bufobj lock should be
  held when manipulating the flags. Not doing this sometimes leaves
  BV_BKGRDINPROG to be erronously set, causing softdep' getdirtybuf() to
  stuck indefinitely in "getbuf" sleep, waiting for background write to
  finish which is not actually performed.
  
  Add BO_LOCK() in the cases where it was missed.
  
  Revision    Changes    Path
  1.568.2.6   +49 -4     src/sys/kern/vfs_bio.c
  1.767.2.13  +10 -0     src/sys/kern/vfs_subr.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009132029.o8DKTL7H021825>