]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Finally implement read policies. The previous "implementation" didn't
authorGreg Lehey <grog@FreeBSD.org>
Mon, 5 May 2003 05:25:49 +0000 (05:25 +0000)
committerGreg Lehey <grog@FreeBSD.org>
Mon, 5 May 2003 05:25:49 +0000 (05:25 +0000)
commit48f14420c5bc4901f6a8d65dd15c1703170fe995
treed14a488564d504c65141298854c2fb218623eef4
parentf508d26091f77257d09e4efc7f78243df1fa53eb
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

printconfig: Print out the "preferred" keyword for plexes where
     appropriate.

     Still print out "prefer" for volumes.  The kernel module
     continues to accept this version, but it's probably not
     going to live much longer.
sbin/vinum/list.c