git: DEVFS - Refactor vinum to operate with devfs

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 15 10:15:07 PDT 2009


commit 5ad175c921f038c505fd631b787e98c7dad6dbe3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 15 10:09:44 2009 -0700

    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.

Summary of changes:
 sbin/vinum/commands.c            |   43 ++++++++++++++++++++++++++++++++++++++
 sbin/vinum/v.c                   |   29 ++++++++++++++-----------
 sys/dev/raid/vinum/vinum.c       |   28 +++++++++++++-----------
 sys/dev/raid/vinum/vinumconfig.c |   35 +++++++++++++++---------------
 sys/dev/raid/vinum/vinumio.c     |   13 +++--------
 sys/dev/raid/vinum/vinumrevive.c |    5 ++++
 6 files changed, 101 insertions(+), 52 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5ad175c921f038c505fd631b787e98c7dad6dbe3


-- 
DragonFly BSD source repository





More information about the Commits mailing list