freebsd-nq/sys/geom
Ulf Lilleengen c0b9797aa8 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>
2009-03-28 17:20:08 +00:00
..
bde Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
cache Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
concat Add sbuf_new_auto as a shortcut for the very common case of creating a 2008-08-09 11:14:05 +00:00
eli Detach GELI providers on shutdown/reboot, which will allow providers underneath 2009-03-16 19:31:08 +00:00
gate Bump copyright year. 2006-09-08 10:20:44 +00:00
journal Make it possible to use gjournal for the root filesystem. Previously, 2008-12-06 11:33:10 +00:00
label Create GEOM labels from UFS IDs, e.g. /dev/ufsid/49c97b1faa2adc43. UFS IDs 2009-03-25 20:38:57 +00:00
linux_lvm Add a geom class to map Linux LVM logical volumes. 2008-02-20 07:45:36 +00:00
mirror Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
multipath Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
nop Remove trailing spaces. 2006-09-30 08:16:49 +00:00
part Sharpen the saw: 2009-03-27 05:48:42 +00:00
raid3 Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
shsec Add BIO_FLUSH support to GSHSEC class. 2006-11-01 12:30:51 +00:00
stripe Add sbuf_new_auto as a shortcut for the very common case of creating a 2008-08-09 11:14:05 +00:00
uzip If compressed length is zero, return a zero-filled block. 2007-04-24 06:30:06 +00:00
vinum Import the gvinum work that have been done during and after Summer of Code 2007. 2009-03-28 17:20:08 +00:00
virstor Avoid NULL deference. 2008-06-30 15:21:42 +00:00
zero
geom_aes.c
geom_bsd_enc.c Decode as many or as few partition entries as the label claims there 2007-12-09 22:44:22 +00:00
geom_bsd.c Trivial patch to show on which geom has the error been detected. 2008-12-01 15:02:00 +00:00
geom_ccd.c - Fix a potential NULL pointer reference. Note that this should not happen in 2008-11-25 20:28:33 +00:00
geom_ctl.c Add sbuf_new_auto as a shortcut for the very common case of creating a 2008-08-09 11:14:05 +00:00
geom_ctl.h
geom_dev.c Provide compatibility symlink for logical partitions: 2009-02-20 04:48:40 +00:00
geom_disk.c Revert r184136. Instead, push the check for crashdumpmap overflow into the 2008-10-31 10:11:35 +00:00
geom_disk.h - Extend disk structure to allow to store disk's serial number, which can be 2007-05-05 17:12:15 +00:00
geom_dump.c
geom_event.c When orphaning a provider, cancel events related to it. 2007-09-27 20:18:34 +00:00
geom_fox.c
geom_int.h
geom_io.c Just a fixup for a KTRACE message I stumbled upon many moons ago. 2008-09-18 15:02:19 +00:00
geom_kern.c Add sbuf_new_auto as a shortcut for the very common case of creating a 2008-08-09 11:14:05 +00:00
geom_mbr_enc.c
geom_mbr.c
geom_pc98_enc.c
geom_pc98.c
geom_redboot.c o disallow write to RedBoot and FIS directory partitions; these are painful 2009-03-11 01:12:52 +00:00
geom_slice.c Add sbuf_new_auto as a shortcut for the very common case of creating a 2008-08-09 11:14:05 +00:00
geom_slice.h
geom_subr.c In g_handleattr(), set bp->bio_completed also for the case 2009-02-03 07:07:13 +00:00
geom_sunlabel_enc.c
geom_sunlabel.c
geom_vfs.c Prevent a panic that happens on SMP machines when removing a disk with 2009-01-11 13:51:04 +00:00
geom_vfs.h Remove the struct thread unuseful argument from bufobj interface. 2008-10-10 21:23:50 +00:00
geom_vol_ffs.c
geom.h Constify val in g_handleattr() and str in g_handleattr_str(). 2009-02-01 01:50:09 +00:00
notes