Date: Sat, 11 Feb 2006 17:42:31 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom/raid3 g_raid3.c g_raid3.h Message-ID: <200602111742.k1BHgVm7080245@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602111742.k1BHgVm7080245>
