Deleted Added
full compact
gsched.8 (211962) gsched.8 (231992)
1.\" Copyright (c) 2009-2010 Fabio Checconi
2.\" Copyright (c) 2009-2010 Luigi Rizzo, Universita` di Pisa
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
1.\" Copyright (c) 2009-2010 Fabio Checconi
2.\" Copyright (c) 2009-2010 Luigi Rizzo, Universita` di Pisa
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\" $FreeBSD: head/sbin/geom/class/sched/gsched.8 211962 2010-08-29 11:32:41Z uqs $
26.\" $FreeBSD: head/sbin/geom/class/sched/gsched.8 231992 2012-02-22 04:51:17Z eadler $
27.\"
28.Dd August 29, 2010
29.Dt GSCHED 8
30.Os
31.Sh NAME
32.Nm gsched
33.Nd "control utility for disk scheduler GEOM class"
34.Sh SYNOPSIS

--- 101 unchanged lines hidden (view full) ---

136.Sh EXAMPLES
137The following example shows how to create a scheduling provider for disk
138.Pa /dev/ad0 ,
139and how to destroy it.
140.Bd -literal -offset indent
141# Load the geom_sched module:
142kldload geom_sched
143# Load some scheduler classes used by geom_sched:
27.\"
28.Dd August 29, 2010
29.Dt GSCHED 8
30.Os
31.Sh NAME
32.Nm gsched
33.Nd "control utility for disk scheduler GEOM class"
34.Sh SYNOPSIS

--- 101 unchanged lines hidden (view full) ---

136.Sh EXAMPLES
137The following example shows how to create a scheduling provider for disk
138.Pa /dev/ad0 ,
139and how to destroy it.
140.Bd -literal -offset indent
141# Load the geom_sched module:
142kldload geom_sched
143# Load some scheduler classes used by geom_sched:
144kldload gsched_rr gsched_as
144kldload gsched_rr
145# Configure device ad0 to use scheduler "rr":
146geom sched insert -a rr ad0
147# Now provider ad0 uses the "rr" algorithm;
148# the new geom is ad0.sched.
149# Remove the scheduler on the device:
150geom sched destroy -v ad0.sched.
151.Ed
152.Pp
153.Sh SEE ALSO
154.Xr geom 4 ,
155.Xr geom 8
156.Sh HISTORY
157The
158.Nm
159utility first appeared in
160.Fx 8.1 .
161.Sh AUTHORS
162.An Fabio Checconi Aq fabio@FreeBSD.org
163.An Luigi Rizzo Aq luigi@FreeBSD.org
145# Configure device ad0 to use scheduler "rr":
146geom sched insert -a rr ad0
147# Now provider ad0 uses the "rr" algorithm;
148# the new geom is ad0.sched.
149# Remove the scheduler on the device:
150geom sched destroy -v ad0.sched.
151.Ed
152.Pp
153.Sh SEE ALSO
154.Xr geom 4 ,
155.Xr geom 8
156.Sh HISTORY
157The
158.Nm
159utility first appeared in
160.Fx 8.1 .
161.Sh AUTHORS
162.An Fabio Checconi Aq fabio@FreeBSD.org
163.An Luigi Rizzo Aq luigi@FreeBSD.org