Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 2004 23:27:21 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/geom/mirror g_mirror.c src/sys/geom/raid3 g_raid3.c
Message-ID:  <200411092327.iA9NRLCS061474@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 
  Log:
  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@fsn.hu> (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



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