IO: add VR I/O Scheduler
/block/Kconfig.iosched
blob:3199b76f795de33f9db31e140aad75a716a51d44 -> blob:3911375b1d0dd692261b62191ba508698445e847
--- block/Kconfig.iosched
+++ block/Kconfig.iosched
@@ -43,6 +43,13 @@ config CFQ_GROUP_IOSCHED
---help---
Enable group IO scheduling in CFQ.
+config IOSCHED_VR
+ tristate "V(R) I/O scheduler"
+ default n
+ ---help---
+ Requests are chosen according to SSTF with a penalty of rev_penalty
+ for switching head direction.
+
choice
prompt "Default I/O scheduler"
default DEFAULT_CFQ
@@ -56,6 +63,9 @@ choice
config DEFAULT_CFQ
bool "CFQ" if IOSCHED_CFQ=y
+ config DEFAULT_VR
+ bool "V(R)" if IOSCHED_VR=y
+
config DEFAULT_NOOP
bool "No-op"
@@ -65,6 +75,7 @@ config DEFAULT_IOSCHED
string
default "deadline" if DEFAULT_DEADLINE
default "cfq" if DEFAULT_CFQ
+ default "vr" if DEFAULT_VR
default "noop" if DEFAULT_NOOP
endmenu