cvs commit: src/sys/geom/mirror g_mirror.c g_mirror.h
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sat Feb 11 09:39:29 PST 2006
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
More information about the cvs-src
mailing list