cvs commit: src/sbin/geom/class/raid3 geom_raid3.csrc/sys/geom/raid3 g_raid3.c g_raid3.h g_raid3_ctl.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Dec 25 11:17:47 PST 2004


pjd         2004-12-25 19:17:47 UTC

  FreeBSD src repository

  Modified files:
    sbin/geom/class/raid3 geom_raid3.c 
    sys/geom/raid3       g_raid3.c g_raid3.h g_raid3_ctl.c 
  Log:
  - Add genid field to the metadata which will allow to improve reliability a bit.
    After this change, when component is disconnected because of an I/O error,
    it will not be connected and synchronized automatically, it will be logged
    as broken and skipped. Autosynchronization can occur, when component is
    disconnected (on orphan event) and connected again - there were no I/O
    error, so there is no need to not connected the component, but when there were
    writes while it wasn't connected, it will be synchronized.
    This fix cases, when component is disconnected because of I/O error and can be
    connected again and again.
  - Bump version number.
  - Implement backward compatibility mechanism. After this change when metadata in
    old version is detected, it is automatically upgraded to the new (current)
    version.
  
  Revision  Changes    Path
  1.8       +1 -0      src/sbin/geom/class/raid3/geom_raid3.c
  1.32      +128 -42   src/sys/geom/raid3/g_raid3.c
  1.8       +74 -16    src/sys/geom/raid3/g_raid3.h
  1.6       +4 -3      src/sys/geom/raid3/g_raid3_ctl.c


More information about the cvs-all mailing list