cvs commit: src/sys/geom/mirror g_mirror.c g_mirror.h
 g_mirror_ctl.c src/sbin/geom/class/mirror geom_mirror.c
    Pawel Jakub Dawidek 
    pjd at FreeBSD.org
       
    Wed Dec 22 15:09:32 PST 2004
    
    
  
pjd         2004-12-22 23:09:32 UTC
  FreeBSD src repository
  Modified files:
    sys/geom/mirror      g_mirror.c g_mirror.h g_mirror_ctl.c 
    sbin/geom/class/mirror geom_mirror.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.
  - Add version change history.
  - 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.7       +1 -0      src/sbin/geom/class/mirror/geom_mirror.c
  1.53      +96 -37    src/sys/geom/mirror/g_mirror.c
  1.12      +88 -19    src/sys/geom/mirror/g_mirror.h
  1.6       +1 -1      src/sys/geom/mirror/g_mirror_ctl.c
    
    
More information about the cvs-all
mailing list