cvs commit: src/sbin/geom/class/raid3 geom_raid3.csrc/sys/geom/raid3 g_raid3.c g_raid3.h g_raid3_ctl.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Jan 3 04:55:29 PST 2005


pjd         2005-01-03 12:55:28 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sbin/geom/class/raid3 geom_raid3.c 
    sys/geom/raid3       g_raid3.c g_raid3.h g_raid3_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 raid3-devices 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 device 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.1.2.3   +1 -0      src/sbin/geom/class/raid3/geom_raid3.c
  1.4.2.4   +414 -214  src/sys/geom/raid3/g_raid3.c
  1.1.2.3   +75 -16    src/sys/geom/raid3/g_raid3.h
  1.1.2.2   +4 -3      src/sys/geom/raid3/g_raid3_ctl.c


More information about the cvs-src mailing list