diff options
author | grog <grog@FreeBSD.org> | 2003-05-05 05:35:28 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 2003-05-05 05:35:28 +0000 |
commit | fd40d662ef626f0463988dfb7cb7ad3b0a0aee6c (patch) | |
tree | f0aba353b822208cc30d7817b84bd15573fb7c74 /sys | |
parent | f207e15d0ee6012293f578852fc83037ad7b094f (diff) | |
download | FreeBSD-src-fd40d662ef626f0463988dfb7cb7ad3b0a0aee6c.zip FreeBSD-src-fd40d662ef626f0463988dfb7cb7ad3b0a0aee6c.tar.gz |
Add "preferred" keyword.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/vinum/vinumkw.h | 6 | ||||
-rw-r--r-- | sys/dev/vinum/vinumparser.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/vinum/vinumkw.h b/sys/dev/vinum/vinumkw.h index 110a442..3898872 100644 --- a/sys/dev/vinum/vinumkw.h +++ b/sys/dev/vinum/vinumkw.h @@ -95,7 +95,13 @@ enum keyword { kw_v, kw_w, kw_round, /* round robin */ + /* + * The first of these is a volume attibute ("prefer plex"), and the + * second is a plex attribute ("preferred" means that the volume + * prefers this plex). + */ kw_prefer, /* prefer plex */ + kw_preferred, /* preferred plex */ kw_device, kw_init, kw_label, diff --git a/sys/dev/vinum/vinumparser.c b/sys/dev/vinum/vinumparser.c index 2ab4f18..27c9bd4 100644 --- a/sys/dev/vinum/vinumparser.c +++ b/sys/dev/vinum/vinumparser.c @@ -114,6 +114,7 @@ struct _keywords keywords[] = keypair(state), keypair(round), keypair(prefer), + keypair(preferred), keypair(rename), keypair(detached), #ifndef _KERNEL /* for vinum(8) only */ |