Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2004 23:09:32 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/geom/mirror g_mirror.c g_mirror.h g_mirror_ctl.c src/sbin/geom/class/mirror geom_mirror.c
Message-ID:  <200412222309.iBMN9WKD084751@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412222309.iBMN9WKD084751>