From owner-cvs-src@FreeBSD.ORG Sat Feb 11 17:42:34 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F00F416A420; Sat, 11 Feb 2006 17:42:33 +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 9B2A643D48; Sat, 11 Feb 2006 17:42:31 +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 k1BHgVSN080246; Sat, 11 Feb 2006 17:42:31 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1BHgVm7080245; Sat, 11 Feb 2006 17:42:31 GMT (envelope-from pjd) Message-Id: <200602111742.k1BHgVm7080245@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Sat, 11 Feb 2006 17:42:31 +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/raid3 g_raid3.c g_raid3.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Feb 2006 17:42:34 -0000 pjd 2006-02-11 17:42:31 UTC FreeBSD src repository Modified files: sys/geom/raid3 g_raid3.c g_raid3.h Log: - Add kern.geom.raid3.disconnect_on_failure sysctl/tunnable (default to 1 to preserve currect behaviour). When set to 0, components are not disconnected - graid3 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 'graid3 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.50 +75 -31 src/sys/geom/raid3/g_raid3.c 1.15 +1 -0 src/sys/geom/raid3/g_raid3.h