freebsd-nq/sys/dev/vinum
Greg Lehey fdfcec3b7c vinum_scandisk: Make sure the config is locked before we mess around
with it.

Finally implement read policies.  The previous "implementation" didn't
work because it referred to plexes which were almost invariably when
referred to.  Instead, deprecate the "prefer" keyword for volumes
(though it's still there for the moment) and add a keyword "preferred"
to the plex definition.  The relationship is like this:

Old:

  vol foo ... prefer foo.p3

New:

  plex foo.p3 volume foo preferred

print_config: Print "preferred" where appropriate.
	      No longer print "prefer" on volume config entries.
2003-05-05 05:32:52 +00:00
..
COPYRIGHT
makestatetext
request.h Note when we issue a request to the disk driver, so that we can 2003-05-01 13:06:00 +00:00
statetexts.h
vinum.c free_vinum: Rearrange sequence of actions to avoid potential race 2003-05-05 05:28:15 +00:00
vinumconfig.c Finally implement read policies. The previous "implementation" didn't 2003-05-05 05:32:15 +00:00
vinumdaemon.c Keep the proc locked while we set PS_INMEM so that either of the proc lock 2003-04-22 19:45:26 +00:00
vinumext.h Update declaration of vinum_scandisk (only one parameter). 2003-05-04 05:19:48 +00:00
vinumhdr.h
vinuminterrupt.c
vinumio.c vinum_scandisk: Make sure the config is locked before we mess around 2003-05-05 05:32:52 +00:00
vinumio.h Rewrite of startup code: 2003-05-04 05:15:32 +00:00
vinumioctl.c Rewrite of startup code: 2003-05-04 05:16:02 +00:00
vinumkw.h Don't make definition of kw_debug dependent on VINUMDEBUG. It's only 2003-05-01 01:31:20 +00:00
vinumlock.c #ifdef VINUMDEBUG, not #if VINUMDEBUG. 2003-05-01 01:31:48 +00:00
vinummemory.c Use strrchr, not rindex. This is for compatibility with other 2003-05-01 01:32:08 +00:00
vinumobj.h
vinumparser.c Don't make definition of kw_debug dependent on VINUMDEBUG. In 2003-05-01 01:32:31 +00:00
vinumraid5.c Terminate a comment. 2003-05-01 01:33:01 +00:00
vinumrequest.c Rewrite minor number decoding. Now we have only three types of 2003-05-01 01:33:34 +00:00
vinumrevive.c Rewrite minor number decoding. Now we have only three types of 2003-05-01 01:34:05 +00:00
vinumstate.c White space changes. 2003-05-02 01:39:11 +00:00
vinumstate.h
vinumutil.c For consistency's sake, on command failure, throw 1, not -1. 2003-05-01 01:34:38 +00:00
vinumutil.h
vinumvar.h Rewrite minor number decoding. Now we have only three types of 2003-05-01 01:35:03 +00:00