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

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Sep 26 13:41:08 PDT 2004


pjd         2004-09-26 20:41:07 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/mirror      g_mirror.c 
  Log:
  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.
  
  Found by:       tegge
  
  Revision  Changes    Path
  1.30      +31 -8     src/sys/geom/mirror/g_mirror.c


More information about the cvs-src mailing list