A prototype feature for WORM(Write Once Read Multiple) workload.
1. Add O_RDREMOTE flag to "/usr/include/x86_64-linux-gnu/bits/fcntl-linux.h"
#ifndef O_RDREMOTE
#define O_RDREMOTE 040000000
#endif
- Compile and install linux source code
- If you want to trigger "refreshing file system metadata", please open() a file with O_RDREMOTE flag from reader server.
- Writer server must sync all written data before open a file from reader server.
- EXT4OF only consider open path, so you must not lookup target directory using type of "stat" system call. It will destroy the file system state.
- Please "drop caches" and reinit file system after testing.
- Please try this on virtual machine...
- I am not a professional software developer, and that is why the code is not of the production-level quality.
- mount option to trigger feature
- Concurrency
- I have modified VFS, ext4 layer but not modifying vfs is left for future work.
If you have questions, please, contact: (virtual machine setup, IPMI setting, etc.)
Daegyu Han (hdg9400 "at" skku.edu)
There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/README.rst first.
In order to build the documentation, use make htmldocs
or
make pdfdocs
. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation.
Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.