Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 2009 17:20:08 +0000 (UTC)
From:      Ulf Lilleengen <lulf@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/gvinum gvinum.8 gvinum.c src/sys/geom/vinum geom_vinum.c geom_vinum.h geom_vinum_drive.c geom_vinum_init.c geom_vinum_list.c geom_vinum_move.c geom_vinum_plex.c geom_vinum_raid5.c geom_vinum_raid5.h geom_vinum_rename.c ...
Message-ID:  <200903281725.n2SHPda5066621@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
lulf        2009-03-28 17:20:08 UTC

  FreeBSD src repository

  Modified files:
    sbin/gvinum          gvinum.8 gvinum.c 
    sys/geom/vinum       geom_vinum.c geom_vinum.h 
                         geom_vinum_drive.c geom_vinum_init.c 
                         geom_vinum_list.c geom_vinum_move.c 
                         geom_vinum_plex.c geom_vinum_raid5.c 
                         geom_vinum_raid5.h geom_vinum_rename.c 
                         geom_vinum_rm.c geom_vinum_share.c 
                         geom_vinum_share.h geom_vinum_state.c 
                         geom_vinum_subr.c geom_vinum_var.h 
                         geom_vinum_volume.c 
    sys/modules/geom/geom_vinum Makefile 
  Log:
  SVN rev 190507 on 2009-03-28 17:20:08Z by lulf
  
  Import the gvinum work that have been done during and after Summer of Code 2007.
  The work have been under testing and fixing since then, and it is mature enough
  to be put into HEAD for further testing.
  
  A lot have changed in this time, and here are the most important:
  - Gvinum now uses one single workerthread instead of one thread for each
    volume and each plex. The reason for this is that the previous scheme was
    very complex, and was the cause of many of the bugs discovered in gvinum.
    Instead, gvinum now uses one worker thread with an event queue, quite
    similar to what used in gmirror.
  - The rebuild/grow/initialize/parity check routines no longer runs in
    separate threads, but are run as regular I/O requests with special flags.
    This made it easier to support mounted growing and parity rebuild.
  - Support for growing striped and raid5-plexes, meaning that one can extend the
    volumes for these plex types in addition to the concat type. Also works while
    the volume is mounted.
  - Implementation of many of the missing commands from the old vinum:
    attach/detach, start (was partially implemented), stop (was partially
    implemented), concat, mirror, stripe, raid5 (shortcuts for creating volumes
    with one plex of these organizations).
  - The parity check and rebuild no longer goes between userland/kernel, meaning
    that the gvinum command will not stay and wait forever for the rebuild to
    finish. You can instead watch the status with the list command.
  - Many problems with gvinum have been reported since 5.x, and some has been hard
    to fix due to the complicated architecture. Hopefully, it should be more
    stable and better handle edge cases that previously made gvinum crash.
  - Failed drives no longer disappears entirely, but now leave behind a dummy
    drive that makes sure the original state is not forgotten in case the system
    is rebooted between drive failures/swaps.
  - Update manpage to reflect new commands and extend it with some examples.
  
  Sponsored by:   Google Summer of Code 2007
  Mentored by:    le
  Tested by:      Rick C. Petty <rick-freebsd2008 -at- kiwi-computer.com>
  
  Revision  Changes    Path
  1.5       +145 -32   src/sbin/gvinum/gvinum.8
  1.9       +461 -68   src/sbin/gvinum/gvinum.c
  1.24      +748 -278  src/sys/geom/vinum/geom_vinum.c
  1.16      +87 -33    src/sys/geom/vinum/geom_vinum.h
  1.33      +60 -599   src/sys/geom/vinum/geom_vinum_drive.c
  1.14      +209 -492  src/sys/geom/vinum/geom_vinum_init.c
  1.5       +27 -8     src/sys/geom/vinum/geom_vinum_list.c
  1.5       +35 -71    src/sys/geom/vinum/geom_vinum_move.c
  1.21      +805 -626  src/sys/geom/vinum/geom_vinum_plex.c
  1.12      +229 -151  src/sys/geom/vinum/geom_vinum_raid5.c
  1.8       +3 -25     src/sys/geom/vinum/geom_vinum_raid5.h
  1.6       +79 -166   src/sys/geom/vinum/geom_vinum_rename.c
  1.17      +166 -189  src/sys/geom/vinum/geom_vinum_rm.c
  1.7       +25 -26    src/sys/geom/vinum/geom_vinum_share.c
  1.3       +1 -1      src/sys/geom/vinum/geom_vinum_share.h
  1.10      +169 -37   src/sys/geom/vinum/geom_vinum_state.c
  1.19      +600 -291  src/sys/geom/vinum/geom_vinum_subr.c
  1.13      +102 -41   src/sys/geom/vinum/geom_vinum_var.h
  1.14      +70 -350   src/sys/geom/vinum/geom_vinum_volume.c
  1.5       +2 -2      src/sys/modules/geom/geom_vinum/Makefile



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