From owner-cvs-all@FreeBSD.ORG Sat Dec 25 19:17:47 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 9E66B16A4CE; Sat, 25 Dec 2004 19:17:47 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8837E43D1F; Sat, 25 Dec 2004 19:17:47 +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 iBPJHlIx055718; Sat, 25 Dec 2004 19:17:47 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iBPJHlQq055717; Sat, 25 Dec 2004 19:17:47 GMT (envelope-from pjd) Message-Id: <200412251917.iBPJHlQq055717@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Sat, 25 Dec 2004 19:17:47 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/geom/class/raid3 geom_raid3.csrc/sys/geom/raid3 g_raid3.c g_raid3.h g_raid3_ctl.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: Sat, 25 Dec 2004 19:17:47 -0000 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