Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Feb 2006 17:39:29 +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/mirror g_mirror.c g_mirror.h
Message-ID:  <200602111739.k1BHdTZh080012@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602111739.k1BHdTZh080012>