Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Sep 2005 19:14:19 +0000 (UTC)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/geom geom_event.c
Message-ID:  <200509041914.j84JEKYU089356@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2005-09-04 19:14:19 UTC

  FreeBSD src repository

  Modified files:
    sys/geom             geom_event.c 
  Log:
  Remove a race condition that could result in processes being stuck
  waiting for geom events to happen:
  
  Instead of maintaining a count of outstanding events, simply look if
  the queue is empty.  Make sure to not remove events from the queue
  until they are executed in order to not open a new race.
  
  Much work by:   pjd
  Tested by:      kris
  MT6:            yes, should be.
  
  Revision  Changes    Path
  1.54      +30 -24    src/sys/geom/geom_event.c



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