DEVFS - Refactor vinum to operate with devfs
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 15 Aug 2009 17:09:44 +0000 (10:09 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 15 Aug 2009 17:09:44 +0000 (10:09 -0700)
commit5ad175c921f038c505fd631b787e98c7dad6dbe3
tree4cefdd14e0175e6902a52133a9913996ede83883
parentd736a600413311b81c5b120585b61490915bc0ab
DEVFS - Refactor vinum to operate with devfs

* vinum now accepts devtab labels and device paths (such as serial numbers)
  in drive specifications.  Note that devtab labels will be convreted to
  device serial numbers in the on-disk configuration.

* vinum now creates and destroys its own devices via DEVFS.

* Fix some buf/bio issues related to recent buf/bio work.  bio_done is
  required for ad-hoc buffers such as the kind vinum uses, and also
  required for any synchronous IO.

* Remove adhoc device associations.  Instead store the device returned
  by make_dev() in appropriate internal structures.
sbin/vinum/commands.c
sbin/vinum/v.c
sys/dev/raid/vinum/vinum.c
sys/dev/raid/vinum/vinumconfig.c
sys/dev/raid/vinum/vinumio.c
sys/dev/raid/vinum/vinumrevive.c