freebsd-dev/sys/dev/vinum
Greg Lehey 66c4363288 free_vinum: don't change loop bounds for deleting drives while in the loop.
This solved a problem where 'vinum resetconfig' only reset half
	    the drives.

Reported-by:  Brad Knowles <blk@skynet.be>
	      Karl Pielorz <kpielorz@tdx.co.uk>

Change the super device.  We now have three super devices:

  1.  The normal superdevice used by vinum(8).
  2.  The superdevice used by vinum(8) when compiled with debug support.
  3.  The superdevice used by the daemon.

This method allows vinum(8) to determine debug mismatches.  Also check
correctly for the device type.  The old code did not check all bits of
the minor number.

  Reported-by: a cast of thousands, most recently by Brad Knowles
               <blk@skynet.be>.
1999-03-19 07:08:40 +00:00
..
COPYRIGHT If I've done this right, revive the vinum code in it's now home after it 1998-12-28 04:56:24 +00:00
makestatetext Include the copyright notice in the script, making the file COPYRIGHT 1999-01-21 00:29:20 +00:00
request.h Modify to compile with egcs. 1999-03-18 23:26:22 +00:00
statetexts.h Change the name of drive state "uninit" to "referenced": it only 1999-03-02 06:51:48 +00:00
vinum.c free_vinum: don't change loop bounds for deleting drives while in the loop. 1999-03-19 07:08:40 +00:00
vinumconfig.c Change the way of recognizing whether a plex was given to a volume 1999-03-13 07:32:40 +00:00
vinumdaemon.c Modify to compile with egcs. 1999-03-18 23:26:22 +00:00
vinumext.h Modify to compile with egcs. 1999-03-18 23:26:22 +00:00
vinumhdr.h Change multiline comments to start with a lone /* and end with a */, 1999-01-29 01:17:54 +00:00
vinuminterrupt.c Modify to compile with egcs. 1999-03-18 23:26:22 +00:00
vinumio.c Modify to compile with egcs. 1999-03-18 23:26:22 +00:00
vinumio.h Change SAVECONFIG ioctl: it now writes an int parameter. 1999-03-02 22:00:19 +00:00
vinumioctl.c VINUM_RESETCONFIG: do the reset even if the config is open (as it has 1999-03-13 07:34:56 +00:00
vinumkw.h Add keywords "size", synonym for "length", and "max". 1999-03-02 06:55:18 +00:00
vinumlock.c lock_drive: report on and recover from an obscure situation where the 1999-03-13 07:35:40 +00:00
vinummemory.c Modify to compile with egcs. 1999-03-18 23:26:22 +00:00
vinumparser.c Add keywords "size", synonym for "length", and "max". 1999-03-02 06:56:05 +00:00
vinumrequest.c Modify to compile with egcs. 1999-03-18 23:26:22 +00:00
vinumrevive.c Change printf() calls to log() calls. 1999-03-02 06:56:39 +00:00
vinumstate.c Part of removing vol->opencount: now we just use a flag. 1999-03-13 07:39:17 +00:00
vinumstate.h Change the name of drive state "uninit" to "referenced": it only 1999-03-02 06:57:30 +00:00
vinumutil.c sizespec: allow negative values (which signal error conditions). 1999-03-02 06:57:48 +00:00
vinumvar.h Remove opencount from vinum_conf and struct vol, and disk index from 1999-03-13 07:40:52 +00:00