cvs commit: src/sys/geom geom_event.c

Poul-Henning Kamp phk at
Sun Sep 4 12:14:20 PDT 2005

phk         2005-09-04 19:14:19 UTC

  FreeBSD src repository

  Modified files:
    sys/geom             geom_event.c 
  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

More information about the cvs-src mailing list