This is my disk scheduler for Linux 3.6.6 that implements the C-LOOK algorithm.
This was one of my works written for my Operating Systems course.
Note: This is a modification of version 3.6.6. Other versions are not guaranteed to work.
- A modern Linux-based OS like Ubuntu. These steps will be executed in this OS.
- VirtualBox to run said OS.
Use the patch or patchless steps, either will work.
- Download Git for Linux. Git Bash's patching feature is used here.
- Download Linux 3.6.6.
- From the root folder, go to
block
and open Git Bash in this folder. In Git Bash, enterpatch --help
to make sure that the command is available. - Move
clook.patch
toblock
.
clook.patch
can be found in this repo - inupload
.
- In Git Bash, apply
clook.patch
tonoop-iosched.o
noop-iosched.o
is already in theblock
folder.patch -u noop-iosched.o -i clook.patch
- Move files
Kconfig.iosched
andMakefile
from this repo'slinux-3.6.6/block
to 3.6.6'sblock
, and overwrite files when prompted. - In the root folder, run the makefile.
- None.
- Download Linux 3.6.6.
- Find the root folder but do not enter it. It should be called
linux-3.6.6
. - Move folder
linux-3.6.6
from this repo to the same directory as the root folder, and overwrite files when prompted. - In the root folder, run the makefile.
Feel free to fork this for personal usage only.