After compiling a kernel with ROW and ZEN schedulers I hit a small bump that I cannot explain, Neo.
What I did was:
1. copied your zen-iosched.c and row-iosched.c over into /block
2. inserted this into Kconfig.iosched
3. added this to Makefile
Kernel compiled fine, no errors, but after flashing only ZEN appears in the scheduler menu.
What am I missing here?
What I did was:
1. copied your zen-iosched.c and row-iosched.c over into /block
2. inserted this into Kconfig.iosched
Code:
-----------------------------------snip--------------------------------------------
config IOSCHED_ROW
tristate "ROW I/O scheduler"
---help---
The ROW I/O scheduler gives priority to READ requests over the
WRITE requests when dispatching, without starving WRITE requests.
Requests are kept in priority queues. Dispatching is done in a RR
manner when the dispatch quantum for each queue is calculated
according to queue priority.
Most suitable for mobile devices.
config IOSCHED_ZEN
tristate "Zen I/O scheduler"
default y
---help---
FCFS, dispatches are back-inserted, deadlines ensure fairness.
Should work best with devices where there is no travel delay.
choice
-----------------------------------snip--------------------------------------------
config DEFAULT_ROW
bool "ROW" if IOSCHED_ROW=y
help
The ROW I/O scheduler gives priority to READ requests
over the WRITE requests when dispatching, without starving
WRITE requests. Requests are kept in priority queues.
Dispatching is done in a RR manner when the dispatch quantum
for each queue is defined according to queue priority.
Most suitable for mobile devices.
config DEFAULT_ZEN
bool "ZEN" if IOSCHED_ZEN=y
endchoice
-----------------------------------snip--------------------------------------------
config DEFAULT_IOSCHED
string
default "deadline" if DEFAULT_DEADLINE
default "cfq" if DEFAULT_CFQ
default "sio" if DEFAULT_SIO
default "noop" if DEFAULT_NOOP
default "row" if DEFAULT_ROW
default "zen" if DEFAULT_ZEN
endmenu
endif
3. added this to Makefile
Code:
-----------------------------------snip--------------------------------------------
obj-$(CONFIG_IOSCHED_SIO) += sio-iosched.o
obj-$(CONFIG_IOSCHED_ROW) += row-iosched.o
obj-$(CONFIG_IOSCHED_ZEN) += zen-iosched.o
-----------------------------------snip--------------------------------------------
Kernel compiled fine, no errors, but after flashing only ZEN appears in the scheduler menu.
What am I missing here?