cvs commit: src/sys/geom/raid3 g_raid3.c g_raid3.h g_raid3_ctl.c

Pawel Jakub Dawidek pjd at
Mon Mar 13 01:03:19 UTC 2006

pjd         2006-03-13 01:03:18 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/raid3       g_raid3.c g_raid3.h g_raid3_ctl.c 
  - Reimplement I/O data allocation to prevent deadlocks.
          Submitted by:   green
  - Speed up synchronization process by using configurable number of I/O
    requests in parallel.
    + Add kern.geom.raid3.sync_requests tunable which defines how many parallel
      I/O requests should be used.
    + Retire kern.geom.raid3.reqs_per_sync and kern.geom.raid3.syncs_per_sec
  - Fix race between regular and synchronization requests.
  - Reimplement raid3's data synchronization - do not use the topology lock
    for this purpose, as it may case deadlocks.
  - Stop synchronization from pre-sync hook.
  - Fix some other minor issues.
  Tested by:      Mike Tancsa <mike at>
  MFC after:      3 days
  Revision  Changes    Path
  1.55      +540 -272  src/sys/geom/raid3/g_raid3.c
  1.16      +39 -8     src/sys/geom/raid3/g_raid3.h
  1.14      +93 -72    src/sys/geom/raid3/g_raid3_ctl.c

More information about the cvs-src mailing list