Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172904
b: refs/heads/master
c: 492af63
h: refs/heads/master
v: v3
  • Loading branch information
Jens Axboe committed Oct 3, 2009
1 parent 3ed8c5d commit ded2eb8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1,548 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6a0afdf58d40200abd0c717261d1bc4c49195c2f
refs/heads/master: 492af6350a5ccf087e4964104a276ed358811458
22 changes: 4 additions & 18 deletions trunk/block/Kconfig.iosched
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,14 @@ config IOSCHED_NOOP
that do their own scheduling and require only minimal assistance from
the kernel.

config IOSCHED_AS
tristate "Anticipatory I/O scheduler"
default y
---help---
The anticipatory I/O scheduler is generally a good choice for most
environments, but is quite large and complex when compared to the
deadline I/O scheduler, it can also be slower in some cases
especially some database loads.

config IOSCHED_DEADLINE
tristate "Deadline I/O scheduler"
default y
---help---
The deadline I/O scheduler is simple and compact, and is often as
good as the anticipatory I/O scheduler, and in some database
workloads, better. In the case of a single process performing I/O to
a disk at any one time, its behaviour is almost identical to the
anticipatory I/O scheduler and so is a good choice.
The deadline I/O scheduler is simple and compact. It will provide
CSCAN service with FIFO expiration of requests, switching to
a new point in the service tree and doing a batch of IO from there
in case of expiry.

config IOSCHED_CFQ
tristate "CFQ I/O scheduler"
Expand All @@ -47,9 +37,6 @@ choice
Select the I/O scheduler which will be used by default for all
block devices.

config DEFAULT_AS
bool "Anticipatory" if IOSCHED_AS=y

config DEFAULT_DEADLINE
bool "Deadline" if IOSCHED_DEADLINE=y

Expand All @@ -63,7 +50,6 @@ endchoice

config DEFAULT_IOSCHED
string
default "anticipatory" if DEFAULT_AS
default "deadline" if DEFAULT_DEADLINE
default "cfq" if DEFAULT_CFQ
default "noop" if DEFAULT_NOOP
Expand Down
1 change: 0 additions & 1 deletion trunk/block/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ obj-$(CONFIG_BLOCK) := elevator.o blk-core.o blk-tag.o blk-sysfs.o \

obj-$(CONFIG_BLK_DEV_BSG) += bsg.o
obj-$(CONFIG_IOSCHED_NOOP) += noop-iosched.o
obj-$(CONFIG_IOSCHED_AS) += as-iosched.o
obj-$(CONFIG_IOSCHED_DEADLINE) += deadline-iosched.o
obj-$(CONFIG_IOSCHED_CFQ) += cfq-iosched.o

Expand Down
Loading

0 comments on commit ded2eb8

Please sign in to comment.