Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17a9e7bb authored by Randy Dunlap's avatar Randy Dunlap Committed by Jens Axboe
Browse files

Documentation: remove anticipatory scheduler info



Remove anticipatory block I/O scheduler info from Documentation/
since the code has been deleted.

Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Reported-by: default avatar"Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 02e031cb
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@ you can do so by typing:
As of the Linux 2.6.10 kernel, it is now possible to change the
As of the Linux 2.6.10 kernel, it is now possible to change the
IO scheduler for a given block device on the fly (thus making it possible,
IO scheduler for a given block device on the fly (thus making it possible,
for instance, to set the CFQ scheduler for the system default, but
for instance, to set the CFQ scheduler for the system default, but
set a specific device to use the anticipatory or noop schedulers - which
set a specific device to use the deadline or noop schedulers - which
can improve that device's throughput).
can improve that device's throughput).


To set a specific scheduler, simply do this:
To set a specific scheduler, simply do this:
@@ -31,7 +31,7 @@ a "cat /sys/block/DEV/queue/scheduler" - the list of valid names
will be displayed, with the currently selected scheduler in brackets:
will be displayed, with the currently selected scheduler in brackets:


# cat /sys/block/hda/queue/scheduler
# cat /sys/block/hda/queue/scheduler
noop anticipatory deadline [cfq]
noop deadline [cfq]
# echo anticipatory > /sys/block/hda/queue/scheduler
# echo deadline > /sys/block/hda/queue/scheduler
# cat /sys/block/hda/queue/scheduler
# cat /sys/block/hda/queue/scheduler
noop [anticipatory] deadline cfq
noop [deadline] cfq
+1 −1
Original line number Original line Diff line number Diff line
@@ -706,7 +706,7 @@ and is between 256 and 4096 characters. It is defined in the file
			arch/x86/kernel/cpu/cpufreq/elanfreq.c.
			arch/x86/kernel/cpu/cpufreq/elanfreq.c.


	elevator=	[IOSCHED]
	elevator=	[IOSCHED]
			Format: {"anticipatory" | "cfq" | "deadline" | "noop"}
			Format: {"cfq" | "deadline" | "noop"}
			See Documentation/block/as-iosched.txt and
			See Documentation/block/as-iosched.txt and
			Documentation/block/deadline-iosched.txt for details.
			Documentation/block/deadline-iosched.txt for details.


+2 −2
Original line number Original line Diff line number Diff line
@@ -21,8 +21,8 @@ three rotations, respectively, to balance the tree), with slightly slower
To quote Linux Weekly News:
To quote Linux Weekly News:


    There are a number of red-black trees in use in the kernel.
    There are a number of red-black trees in use in the kernel.
    The anticipatory, deadline, and CFQ I/O schedulers all employ
    The deadline and CFQ I/O schedulers employ rbtrees to
    rbtrees to track requests; the packet CD/DVD driver does the same.
    track requests; the packet CD/DVD driver does the same.
    The high-resolution timer code uses an rbtree to organize outstanding
    The high-resolution timer code uses an rbtree to organize outstanding
    timer requests.  The ext3 filesystem tracks directory entries in a
    timer requests.  The ext3 filesystem tracks directory entries in a
    red-black tree.  Virtual memory areas (VMAs) are tracked with red-black
    red-black tree.  Virtual memory areas (VMAs) are tracked with red-black