Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2010 15:23:12 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r206899 - in stable/8: sbin/geom/class sbin/geom/class/sched sys/geom/sched sys/modules/geom sys/modules/geom/geom_sched
Message-ID:  <201004201523.o3KFNCYP065917@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: luigi
Date: Tue Apr 20 15:23:12 2010
New Revision: 206899
URL: http://svn.freebsd.org/changeset/base/206899

Log:
  MFC geom_sched code, a geom-based disk scheduling framework.

Added:
  stable/8/sbin/geom/class/sched/
     - copied from r206497, head/sbin/geom/class/sched/
  stable/8/sys/geom/sched/
     - copied from r206497, head/sys/geom/sched/
  stable/8/sys/modules/geom/geom_sched/
     - copied from r206497, head/sys/modules/geom/geom_sched/
Modified:
  stable/8/sbin/geom/class/Makefile
  stable/8/sbin/geom/class/sched/Makefile
  stable/8/sbin/geom/class/sched/geom_sched.c
  stable/8/sbin/geom/class/sched/gsched.8
  stable/8/sys/geom/sched/g_sched.c
  stable/8/sys/geom/sched/g_sched.h
  stable/8/sys/geom/sched/gs_rr.c
  stable/8/sys/geom/sched/gs_scheduler.h
  stable/8/sys/modules/geom/Makefile
Directory Properties:
  stable/8/sbin/geom/   (props changed)
  stable/8/sbin/geom/class/stripe/   (props changed)

Modified: stable/8/sbin/geom/class/Makefile
==============================================================================
--- stable/8/sbin/geom/class/Makefile	Tue Apr 20 14:22:29 2010	(r206898)
+++ stable/8/sbin/geom/class/Makefile	Tue Apr 20 15:23:12 2010	(r206899)
@@ -14,6 +14,7 @@ SUBDIR+=multipath
 SUBDIR+=nop
 SUBDIR+=part
 SUBDIR+=raid3
+SUBDIR+=sched
 SUBDIR+=shsec
 SUBDIR+=stripe
 SUBDIR+=virstor

Modified: stable/8/sbin/geom/class/sched/Makefile
==============================================================================
--- head/sbin/geom/class/sched/Makefile	Mon Apr 12 16:37:45 2010	(r206497)
+++ stable/8/sbin/geom/class/sched/Makefile	Tue Apr 20 15:23:12 2010	(r206899)
@@ -1,9 +1,8 @@
 # GEOM_LIBRARY_PATH
 # $FreeBSD$
 
-.PATH: /usr/src/sbin/geom/misc
-
-CFLAGS += -I/usr/src/sbin/geom
+.PATH: ${.CURDIR}/../../misc
+#CFLAGS += -I/usr/src/sbin/geom
 
 CLASS=sched
 

Modified: stable/8/sbin/geom/class/sched/geom_sched.c
==============================================================================
--- head/sbin/geom/class/sched/geom_sched.c	Mon Apr 12 16:37:45 2010	(r206497)
+++ stable/8/sbin/geom/class/sched/geom_sched.c	Tue Apr 20 15:23:12 2010	(r206899)
@@ -1,5 +1,6 @@
 /*-
- * Copyright (c) 2009 Fabio Checconi, Luigi Rizzo
+ * Copyright (c) 2009 Fabio Checconi
+ * Copyright (c) 2010 Luigi Rizzo, Universita` di Pisa
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without

Modified: stable/8/sbin/geom/class/sched/gsched.8
==============================================================================
--- head/sbin/geom/class/sched/gsched.8	Mon Apr 12 16:37:45 2010	(r206497)
+++ stable/8/sbin/geom/class/sched/gsched.8	Tue Apr 20 15:23:12 2010	(r206899)
@@ -1,6 +1,6 @@
-.\" Copyright (c) 2009-2010 Fabio Checconi, Luigi Rizzo
+.\" Copyright (c) 2009-2010 Fabio Checconi
+.\" Copyright (c) 2009-2010 Luigi Rizzo, Universita` di Pisa
 .\" All rights reserved.
-.\" $FreeBSD$
 .\"
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
@@ -23,6 +23,8 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
+.\" $FreeBSD$
+.\"
 .Dd April 12, 2010
 .Dt GSCHED 8
 .Os

Modified: stable/8/sys/geom/sched/g_sched.c
==============================================================================
--- head/sys/geom/sched/g_sched.c	Mon Apr 12 16:37:45 2010	(r206497)
+++ stable/8/sys/geom/sched/g_sched.c	Tue Apr 20 15:23:12 2010	(r206899)
@@ -1,5 +1,6 @@
 /*-
- * Copyright (c) 2009-2010 Fabio Checconi, Luigi Rizzo
+ * Copyright (c) 2009-2010 Fabio Checconi
+ * Copyright (c) 2009-2010 Luigi Rizzo, Universita` di Pisa
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without

Modified: stable/8/sys/geom/sched/g_sched.h
==============================================================================
--- head/sys/geom/sched/g_sched.h	Mon Apr 12 16:37:45 2010	(r206497)
+++ stable/8/sys/geom/sched/g_sched.h	Tue Apr 20 15:23:12 2010	(r206899)
@@ -1,5 +1,6 @@
 /*-
- * Copyright (c) 2009-2010 Fabio Checconi, Luigi Rizzo
+ * Copyright (c) 2009-2010 Fabio Checconi
+ * Copyright (c) 2009-2010 Luigi Rizzo, Universita` di Pisa
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without

Modified: stable/8/sys/geom/sched/gs_rr.c
==============================================================================
--- head/sys/geom/sched/gs_rr.c	Mon Apr 12 16:37:45 2010	(r206497)
+++ stable/8/sys/geom/sched/gs_rr.c	Tue Apr 20 15:23:12 2010	(r206899)
@@ -1,5 +1,6 @@
 /*-
- * Copyright (c) 2009-2010 Fabio Checconi, Luigi Rizzo
+ * Copyright (c) 2009-2010 Fabio Checconi
+ * Copyright (c) 2009-2010 Luigi Rizzo, Universita` di Pisa
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without

Modified: stable/8/sys/geom/sched/gs_scheduler.h
==============================================================================
--- head/sys/geom/sched/gs_scheduler.h	Mon Apr 12 16:37:45 2010	(r206497)
+++ stable/8/sys/geom/sched/gs_scheduler.h	Tue Apr 20 15:23:12 2010	(r206899)
@@ -1,5 +1,6 @@
 /*-
- * Copyright (c) 2009-2010 Fabio Checconi, Luigi Rizzo
+ * Copyright (c) 2009-2010 Fabio Checconi
+ * Copyright (c) 2009-2010 Luigi Rizzo, Universita` di Pisa
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without

Modified: stable/8/sys/modules/geom/Makefile
==============================================================================
--- stable/8/sys/modules/geom/Makefile	Tue Apr 20 14:22:29 2010	(r206898)
+++ stable/8/sys/modules/geom/Makefile	Tue Apr 20 15:23:12 2010	(r206899)
@@ -18,6 +18,7 @@ SUBDIR=	geom_bde \
 	geom_part \
 	geom_pc98 \
 	geom_raid3 \
+	geom_sched \
 	geom_shsec \
 	geom_stripe \
 	geom_sunlabel \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004201523.o3KFNCYP065917>