freebsd-skq/sys/dev/vinum
grog 56aef4122f Revise use of the vinum_conf variables drives_used, subdisks_used,
plexes_used and volumes_used.  Now these fields are only informative,
and the <object>_allocated count is used for searches, etc.  This also
required checking the object state before doing things with the
presumed object.

Problems-reported-by: Kiril Mitev <kiril@ideaglobal.com>

Remove unused (and braindead) functions volume_index, plex_index,
sd_index and drive_index.

Add a flag VF_CREATED for volumes.  VF_NEWBORN was being used in two
capacities, and they clashed, my Lord, they clashed.

find_object: restructure the search loop as a result of the change in
variable use.

Decrement object use count in the remove_<object> functions, not in
the free_<object> functions, which are often called with partially
initialized (and uncounted) objects.
1999-03-30 04:59:59 +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 Add 'referenced' states to subdisks and plexes. 1999-03-28 08:52:11 +00:00
vinum.c Revise use of the vinum_conf variables drives_used, subdisks_used, 1999-03-30 04:59:32 +00:00
vinumconfig.c Revise use of the vinum_conf variables drives_used, subdisks_used, 1999-03-30 04:59:59 +00:00
vinumdaemon.c Modify to compile with egcs. 1999-03-18 23:26:22 +00:00
vinumext.h Add declaration for forceup () (in vinumstate.c) 1999-03-28 08:53:23 +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 Remove longjmp declaration. 1999-03-28 08:53:46 +00:00
vinumio.h Change the definition of VINUM_STARTCONFIG to take an int write parameter. 1999-03-23 04:50:40 +00:00
vinumioctl.c Remove longjmp declaration. 1999-03-28 08:53:46 +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 Add function LongJmp which checks the parameters before calling 1999-03-28 08:54:03 +00:00
vinumparser.c Add keywords "size", synonym for "length", and "max". 1999-03-02 06:56:05 +00:00
vinumrequest.c Put some \ns in some log messages. 1999-03-28 08:54:25 +00:00
vinumrevive.c Change printf() calls to log() calls. 1999-03-02 06:56:39 +00:00
vinumstate.c Revise use of the vinum_conf variables drives_used, subdisks_used, 1999-03-30 04:59:32 +00:00
vinumstate.h Add 'referenced' states to subdisks and plexes. 1999-03-28 08:52:11 +00:00
vinumutil.c VolState: return an enum volumestate, not a (non-existent) enum volstate. 1999-03-19 07:17:05 +00:00
vinumvar.h Add definition LongJmp for longjmp if -DVINUMDEBUG. 1999-03-28 08:55:04 +00:00