gmirror.8:

Note the default balancing algorithm and stripe size.

geom_mirror.c:
  Slightly friendlier error message.

Reviewed by:	pjd
This commit is contained in:
Ceri Davies 2005-10-25 13:45:07 +00:00
parent 3727af6a8b
commit dd7337fc3a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151651
2 changed files with 4 additions and 2 deletions

View file

@ -195,7 +195,7 @@ mirror_label(struct gctl_req *req)
}
bal = balance_id(str);
if (bal == -1) {
gctl_error(req, "Wrong balance algorithm.");
gctl_error(req, "Invalid balance algorithm.");
return;
}
md.md_balance = bal;

View file

@ -138,6 +138,7 @@ Use round-robin algorithm when choosing component to read.
.It Cm split
Split read requests, which are bigger than or equal to slice size on N pieces,
where N is the number of active components.
This is the default balance algorithm.
.El
.It Fl h
Hardcode providers' names in metadata.
@ -148,7 +149,8 @@ When using the
.Cm split
balance algorithm and an I/O READ request is bigger than or equal to this value,
the I/O request will be split into N pieces, where N is the number of active
component.
components.
Defaults to 4096 bytes.
.El
.It Cm clear
Clear metadata on the given providers.