Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 2004 18:23:14 +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 g_mirror.h
Message-ID:  <200409281823.i8SINEeg002986@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2004-09-28 18:23:14 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/geom/mirror      g_mirror.c g_mirror.h 
  Log:
  MFC:
  - Avoid race while synchronizing components. It is very hard to bump into,
    but it is possible:
    1. Read data from good component for synchronization.
    2. Write data to the same area.
    3. Write synchronization data, which are now stale.
  - Decrease kern.geom.mirror.timeout to 4, so it is smaller than
    vfs.root.mountdelay by default.
  - Don't skip providers with 0 sectorsize.
  
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.19.2.3  +41 -30    src/sys/geom/mirror/g_mirror.c
  1.8.2.1   +1 -0      src/sys/geom/mirror/g_mirror.h



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