Skip to contentSkip to conversation

Turn-based I/O request scheduler

PATCH New Satoshi Uchida 1 participant 1 message Jul 30, 2007 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 Turn-based I/O request scheduler

This patch provides turn-based I/O request scheduler.

The turn-besed I/O scheduler makes virtual block device threads to control I/O performance based on the number of reqeusts per "turn".

--------------------------------------------------
Satoshi UCHIDA
NEC Corporation, Japan

# HG changeset patch
# User [email protected]
# Date 1184302442 -32400
# Node ID 216f7a2a56c03aecc08a40ed0f687874f56c89c5
# Parent aee77a9230c1b19873e60761d080af517bbfb189
[IOMGR] Add the turn-based I/O scheduler.
This module control I/O request based on the number of request per "turn".

Signed-off-by Satoshi UCHIDA <[email protected]>

drivers/xen/Kconfig +8 -0
diff -r aee77a9230c1 -r 216f7a2a56c0 drivers/xen/Kconfig
@@ -74,6 +74,14 @@ config XEN_BLKDEV_TAP
 	  The Backend I/O request manager framework provides interface
 	  which makes backend driver to control I/O requests by I/O 
 	  control modules
+
+config XEN_IOSCHED_TURN
+	tristate "Trun-based I/O request scheduler"
+	depends on XEN_IOMGR
+	default m
+	help
+	  The turn-based I/O scheduler controls I/O requests based on the number
+	  of requests "per turn".
 
 config XEN_NETDEV_BACKEND
 	tristate "Network-device backend driver"
drivers/xen/Makefile +1 -0
diff -r aee77a9230c1 -r 216f7a2a56c0 drivers/xen/Makefile
@@ -11,6 +11,7 @@ obj-y	+= util.o
 obj-$(CONFIG_XEN_BLKDEV_BACKEND)	+= blkback/
 obj-$(CONFIG_XEN_BLKDEV_TAP)		+= blktap/
 obj-$(CONFIG_XEN_IOMGR)			+= iomgr/
+obj-$(CONFIG_XEN_IOSCHED_TURN)		+= iomgr/
 obj-$(CONFIG_XEN_NETDEV_BACKEND)	+= netback/
 obj-$(CONFIG_XEN_TPMDEV_BACKEND)	+= tpmback/
 obj-$(CONFIG_XEN_BLKDEV_FRONTEND)	+= blkfront/

diff -r aee77a9230c1 -r 216f7a2a56c0 drivers/xen/iomgr/Makefile
+++ a/drivers/xen/iomgr/Makefile Fri Jul 13 13:52:39 2007 +0900
+++ b/drivers/xen/iomgr/Makefile Fri Jul 13 13:52:39 2007 +0900
@@ -1,3 +1,4 @@

xeniomgr-y := iomgr.o

+obj-$(CONFIG_XEN_IOSCHED_TURN) := turn_iosched.o

drivers/xen/iomgr/turn_iosched.c new file +368 -0

368 lines not on this page · raw message