cvs commit: src/sys/geom/mirror g_mirror.c src/sys/geom/raid3 g_raid3.c

Pawel Jakub Dawidek pjd at
Tue Nov 9 23:27:21 GMT 2004

pjd         2004-11-09 23:27:21 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/mirror      g_mirror.c 
    sys/geom/raid3       g_raid3.c 
  Before trying to update metadata (so open consumer for writing), be sure
  that the events queue is empty. In other case we're able to hit the race
  where for example da0s1 is tasted by some other class, which means that
  da0 is open with exclusive bit set, which means that we can't open da0
  for writing if it is our component.
  Reported by:    Attila Nagy <bra at> (and somebody else sometime ago,
                                            but I cannot find who it was)
  Revision  Changes    Path
  1.47      +27 -10    src/sys/geom/mirror/g_mirror.c
  1.27      +26 -11    src/sys/geom/raid3/g_raid3.c

More information about the cvs-src mailing list