- Oct 29, 2018
-
-
Tommaso Tocci authored
-
- Oct 28, 2018
-
-
Tommaso Tocci authored
margo, argobots and mercury have been updated. The abt-snoozer dep required by margo it is not needed anymore. RocksDB has been also updated to the lastest release
-
Tommaso Tocci authored
loggers can be now configured at execution time, by using environment variables for both server and client. Server: - ADAFS_LOG_LEVEL - ADAFS_DAEMON_LOG_PATH Client: - ADAFS_LOG_LEVEL - ADAFS_PRELOAD_LOG_PATH
-
- May 15, 2018
-
-
Tommaso Tocci authored
-
- May 14, 2018
-
-
Tommaso Tocci authored
Avoid the usage of a custom cmake "find-module" for mercury. Instead use the official exported target
-
- May 11, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
- May 10, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
Support for the following calls has been added: - opendir - readdir - closedir The readdir call use the new RPC get_dirents that ask to all the nodes (broadcast) about all the existing first-level entries of a specific directory.
-
Tommaso Tocci authored
exposes a new DB function that allows to retrieve all the first-level entries of a specific directory.
-
Tommaso Tocci authored
Now that we use only relative path on daemon side, also the initial creation of the root directory should be use a relative path.
-
- May 09, 2018
-
-
Tommaso Tocci authored
Acknowledge the main thread that the IO operation had terminate before to actually close the file. This is a "dirty" fix that waits to be refactored. WARNING: Error on close will not be reported to the client that issued the IO operation.
-
Tommaso Tocci authored
Data operation has been grouped under a ChunkStorage class that will manage all the data backend operations. The instance of this object is stored into the ADAFS_DATA sigleton.
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
The metadataDB class was using integer to return errors. New exceptions classes has been introduced in order to be used as error propagation method. In this commit the MetadataDB::get function has been modified in order to make use of exceptions.
-
Tommaso Tocci authored
-
- May 08, 2018
-
-
Tommaso Tocci authored
During daemon setup, multiple spdloggers are configured. Using spdlog::get("<LOGNAME>") is possible to retrieve those and use them in other part of the code.
-
Tommaso Tocci authored
Paths are now made relative to the mountdir at client side. The new relativize_path fucntion in the PreloadContext is used to check if a path is relative to the pseudo-mount directory and to make it relative
-
- May 02, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
Metadata::serialize() was appending result instead of ovewriting it. The new approach is to make serialize function return a new constructed string instead of accepting a string reference to fill.
-
- Apr 29, 2018
-
-
Tommaso Tocci authored
The rpc stat handler was the only one calling directly a db function, bypassing the intermediate adafs_ops interface. A new function on the adafs_ops interface has been added to be used by the rpc stat handler.
-
- Apr 27, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
Setting the properly the JMALLOC_LIBRARIES variable into the find module made possible to avoid the conditonal inclusion of the library
-
-
Marc Vef authored
-
-
The creation was performed through a simple rocksDB PUT operation. Multiple creation attempts on the same file would override the previously inserted metadata, in particular the file size. The creation is now handled with a new MergeOperand. Now a creation attampt on an already existing file will be converted in a NOP.
-
The new MergeOperand base class can be subclassed in order to implement new merge-operands with their specific parameters and semantics.
-
The UpdateSizeOperand has been renamed IncreaseSizeOperand. The operand was using three parameters size,offset and append_flag. Since we only need the (size + offset) sum in order to apply the operand, the offset field has been removed.
-
In order to make the file-size-update operation atomic it is necessary to make the following action atomic: - READ old size value from rocksDB - COMPUTE new size based on the write operation - WRITE back the new value rocksDB We use rocksDB merge operation [1] in order to implement the atomic update. [1]: https://github.com/facebook/rocksdb/wiki/Merge-Operator
-
with the current storage back-end, chunks of a file are stored in several files in a folder on a real kernel-space filesystem. Removing a file means that we need to remove the entire directory and all its sub-files (rm -r). This operation is not atomic and it can raise errors if performed concurrently.. This commit handles properly this kind of errors.
-