cvs commit: src/sys/geom/raid3 g_raid3.c g_raid3.h

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Sep 27 13:32:36 PDT 2004


pjd         2004-09-27 20:32:35 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/raid3       g_raid3.c g_raid3.h 
  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 (for gmirror)
  
  Revision  Changes    Path
  1.16      +36 -7     src/sys/geom/raid3/g_raid3.c
  1.5       +1 -0      src/sys/geom/raid3/g_raid3.h


More information about the cvs-src mailing list