From owner-cvs-all@FreeBSD.ORG Wed Dec 22 23:09:32 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78B3316A4D0; Wed, 22 Dec 2004 23:09:32 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66C4343D49; Wed, 22 Dec 2004 23:09:32 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iBMN9W0S084752; Wed, 22 Dec 2004 23:09:32 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iBMN9WKD084751; Wed, 22 Dec 2004 23:09:32 GMT (envelope-from pjd) Message-Id: <200412222309.iBMN9WKD084751@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Wed, 22 Dec 2004 23:09:32 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD 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 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2004 23:09:32 -0000 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