From owner-cvs-all@FreeBSD.ORG Sat Feb 11 17:39:29 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 AC92116A420; Sat, 11 Feb 2006 17:39:29 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BD3E43D45; Sat, 11 Feb 2006 17:39:29 +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 k1BHdT2g080013; Sat, 11 Feb 2006 17:39:29 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1BHdTZh080012; Sat, 11 Feb 2006 17:39:29 GMT (envelope-from pjd) Message-Id: <200602111739.k1BHdTZh080012@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Sat, 11 Feb 2006 17:39:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/geom/mirror g_mirror.c g_mirror.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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, 11 Feb 2006 17:39:29 -0000 pjd 2006-02-11 17:39:29 UTC FreeBSD src repository Modified files: sys/geom/mirror g_mirror.c g_mirror.h Log: - Add kern.geom.mirror.disconnect_on_failure sysctl/tunnable (default to 1 to preserve currect behaviour). When set to 0, components are not disconnected - gmirror will try to still use them (only first error will be logged). This is helpful when we have two broken components, but in different places, so actually all data is available. Such buggy component will be visible in 'gmirror list' output with flag BROKEN. - Never disconnect the last valid component. If we detect errors there we will just pass them up. This wasn't reasonable to deny access to the whole provider because of one broken sector. Prodded by: ru MFC after: 3 days Revision Changes Path 1.72 +46 -10 src/sys/geom/mirror/g_mirror.c 1.20 +1 -0 src/sys/geom/mirror/g_mirror.h