- Oct 30, 2018
-
-
Tommaso Tocci authored
-
- Oct 29, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
- Oct 24, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
Implement rename, renameat, renameat2 Added new rcp "insert_node" to insert new metadentry into the metadata DB. This call differs from the "mk_node" because it will insert the metadata received from the caller instead of generating them assuming that they have been generated previously. It can be used to move entries between metadata nodes
-
Tommaso Tocci authored
add checks for directory existance before to remove it
-
Tommaso Tocci authored
remove_node RPC can now be used to remove only the metadentry from the metadata DB without touching the relative data in the ChunkStorage.
-
- Oct 23, 2018
-
-
Tommaso Tocci authored
-
- Oct 22, 2018
-
-
Tommaso Tocci authored
- ChunkStorage now use file ID to organize chunks and locate them - all the data rpc now accepts the file ID instead of the file path
-
Tommaso Tocci authored
The OpenFile and Metadata class have now a fuid field that is a unique file identifier. The fuid is generated by a metadata daemon when the new node is created.
-
- Oct 18, 2018
-
-
Tommaso Tocci authored
Syscall logging allows to log all syscalls but this will slow down the execution. Syscalls logging needs now to be explicitely enabled through the definition of LOG_SYSCALLS at compile time.
-
- Oct 17, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
readlink write at most PATH_MAX, thus we need to support also the worst case scenario in which all the bytes are written.
-
Tommaso Tocci authored
-
- Oct 16, 2018
-
-
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
ensure rpc_addresses object have been initialized before we use it for the first time
-
- Oct 15, 2018
-
-
Tommaso Tocci authored
Instead of passing only the mode as paramenter, we now pass an entire Metadata object in such a way that the parameter can be configured at compile time. For instace if we support symlinks we would like also to pass the target path
-
Tommaso Tocci authored
the functionality wasn't used at all and it will be implemented later with a different approach
-
Tommaso Tocci authored
this patch was resolving the 100% CPU bug [1] But it was also introducing invalid read inside mercury library. Thus from time to time it could led to segmentation faults. [1]: https://github.com/mercury-hpc/mercury/issues/229
-
- Oct 09, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
Can be used to retrieve the Metadata object for a named path In several places the adafs_stat function have been replaced with this new adafs_metadata. This allowed to avoid the construnction of the additional `struct stat`.
-
Tommaso Tocci authored
-
Tommaso Tocci authored
This allowed to avoid improper static_cast to check downcasting
-
Tommaso Tocci authored
-
- Oct 05, 2018
-
-
Tommaso Tocci authored
-
- Oct 04, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
Metadata class needs to be used by both the client and the daemon
-
Tommaso Tocci authored
The metadata class needs to represent metadata of a file, thus it shouldn't contain the path itself. In fact we actually didn't use it at all. This will make further refactoring easier and it save some memory copies.
-