]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Add kern.geom.raid3.disconnect_on_failure sysctl/tunnable (default to 1
authorpjd <pjd@FreeBSD.org>
Sat, 11 Feb 2006 17:42:31 +0000 (17:42 +0000)
committerpjd <pjd@FreeBSD.org>
Sat, 11 Feb 2006 17:42:31 +0000 (17:42 +0000)
commitbeaa5fcb4dc63683c0f73e0326cddc7838be2776
treeb44f46522b828d12b67cad0028fde949df55fbed
parent392d25e4bc345d6563f9272d1132f57731ee2f15
- 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
sys/geom/raid3/g_raid3.c
sys/geom/raid3/g_raid3.h