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
blockand open Git Bash in this folder. In Git Bash, enterpatch --helpto make sure that the command is available. - Move
clook.patchtoblock.
clook.patchcan be found in this repo - inupload.
- In Git Bash, apply
clook.patchtonoop-iosched.o
noop-iosched.ois already in theblockfolder.patch -u noop-iosched.o -i clook.patch
- Move files
Kconfig.ioschedandMakefilefrom this repo'slinux-3.6.6/blockto 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.6from 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.