]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vinum_scandisk: Make sure the config is locked before we mess around
authorGreg Lehey <grog@FreeBSD.org>
Mon, 5 May 2003 05:32:52 +0000 (05:32 +0000)
committerGreg Lehey <grog@FreeBSD.org>
Mon, 5 May 2003 05:32:52 +0000 (05:32 +0000)
commitfdfcec3b7cc746c869691cdab546add23e836df3
tree39d9561fc5e45e1e8a7f560a9df2f6a61e6ba07d
parent780bedeaa596bd644473243906cd7eac2a5845f4
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.
sys/dev/vinum/vinumio.c