Flash Translation Layer
1.0
|
This repository contains the simple Flash Translation Layers made on the Linux Environments.
Furthermore, this repository not only works on the ramdisk but also works on various devices(e.g. Zoned Block Device, and bluedbm, etc.).
If you have any questions about this project, please contact the maintainer (ss5ki). jun@ gmail .com
These instructions based on the Ubuntu(>=16.04) environments
Before you build this repository, you must install some packages from the package manager.
After you download the packages you must receive this project code by using git clone
like below.
Now you move to this repository's project directory root by using mv
.
If you want to use a module like Zoned Block Device module, you must set the value of the
USE_ZONE_DEVICE
variable to 1 in theMakefile
.
Additionally, you must install a valid library for each module. Each module's requirements are as follows.
Moreover, before you run the Zoned Block Device-based program, You must check that you give the super-user privileges to run the Zoned Block Device-based programs.
If you want to generate test files, execute the below command.
After the build finish, you can get the various test files from the results. Run those files to test the project's module works correctly.
If you want to generate a release program through the main.c
, then you must execute the below commands.
Now, you can run that program by using ./a.out
You can easily use this program like below. This program writes the random data into 10 segments. And read from each segment written data. Also, do garbage collection after the number of write to the segments is the multiplication of 5.
You can get this program's documentation file by using doxygen -s Doxyfile
.