cvs commit: src/sbin/geom/class/mirror geom_mirror.csrc/sys/geom/mirror g_mirror.c g_mirror.h g_mirror_ctl.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Jan 3 04:38:01 PST 2005


pjd         2005-01-03 12:38:01 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sbin/geom/class/mirror geom_mirror.c 
    sys/geom/mirror      g_mirror.c g_mirror.h g_mirror_ctl.c 
  Log:
  MFC:
  
  - Fix force-stopping mirrors.
  - Introduce 'idle' functionality, which works by marking components as
    clean after the given idle time.
  - Use shutdown hooks to mark mirrors as clean after all file systems are
    unmounted.
  - Use g_topology_try_lock() in the event thread to avoid deadlocks, because
    some classes hold the topology lock when calling g_(read|write)_data().
  - Keep consumers open even if mirror is not open to avoid races which taste
    mechanism and to be able to always update metadata.
  - Treat components which has I/O errors as broken, don't try to rebuild
    them.
  - Introduce metadata backward compatibility code, which updates detected
    all metadata to the current version.
  
  Revision  Changes    Path
  1.3.2.4   +1 -0      src/sbin/geom/class/mirror/geom_mirror.c
  1.19.2.5  +392 -219  src/sys/geom/mirror/g_mirror.c
  1.8.2.3   +89 -19    src/sys/geom/mirror/g_mirror.h
  1.4.2.1   +7 -7      src/sys/geom/mirror/g_mirror_ctl.c


More information about the cvs-src mailing list