cvs commit: src/sys/geom/mirror g_mirror.c g_mirror.h

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Sep 28 11:23:14 PDT 2004


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


More information about the cvs-src mailing list