cvs commit: src/sys/dev/vinum vinumioctl.c

Greg Lehey grog at FreeBSD.org
Wed Apr 30 18:31:00 PDT 2003


grog        2003/04/30 18:30:59 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/vinum        vinumioctl.c 
  Log:
  Rewrite minor number decoding.  Now we have only three types of
  object: subdisks, plexes and volumes.  The encoding for plexes and
  subdisks no longer reflects the object to which they belong.  The
  super devices are high-order volume numbers.  This gives vastly more
  potential volumes (4 million instead of 256).
  
  As a result of the minor number changes, split out the superdevice
  handling into a separate function, vinum_super_ioctl.  This was most
  of the code of vinumioctl.
  
  attachobject: Improve error checking.
  
  Revision  Changes    Path
  1.42      +331 -327  src/sys/dev/vinum/vinumioctl.c


More information about the cvs-src mailing list