]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Add genid field to the metadata which will allow to improve reliability a bit.
authorpjd <pjd@FreeBSD.org>
Wed, 22 Dec 2004 23:09:32 +0000 (23:09 +0000)
committerpjd <pjd@FreeBSD.org>
Wed, 22 Dec 2004 23:09:32 +0000 (23:09 +0000)
commitb58db25ebeed85a1cc3d68bda134815500157aaa
treeb0d86c753f73582bc08dbd2224d2dc7047934432
parent3a1bb12c828f9bb4b003f8f8fb2a55d3d78b575d
- 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.
sbin/geom/class/mirror/geom_mirror.c
sys/geom/mirror/g_mirror.c
sys/geom/mirror/g_mirror.h
sys/geom/mirror/g_mirror_ctl.c