diff options
-rw-r--r-- | sbin/geom/class/mirror/geom_mirror.c | 2 | ||||
-rw-r--r-- | sbin/geom/class/mirror/gmirror.8 | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sbin/geom/class/mirror/geom_mirror.c b/sbin/geom/class/mirror/geom_mirror.c index 74be6e5..00afc28 100644 --- a/sbin/geom/class/mirror/geom_mirror.c +++ b/sbin/geom/class/mirror/geom_mirror.c @@ -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; diff --git a/sbin/geom/class/mirror/gmirror.8 b/sbin/geom/class/mirror/gmirror.8 index e789c92..1c021ef 100644 --- a/sbin/geom/class/mirror/gmirror.8 +++ b/sbin/geom/class/mirror/gmirror.8 @@ -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. |