- Nov 04, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
- Nov 03, 2018
-
-
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.
-
Tommaso Tocci authored
-
Tommaso Tocci authored
avoid construction of intermediate string when prepending the separator
-
- Oct 31, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
makes format of log messages more omogeneus
-
Tommaso Tocci authored
Tokenizer components of boost suite is an header-only library that must be explicitely imported through the Boost::boost imported target
-
Tommaso Tocci authored
-
Tommaso Tocci authored
The decrement size operand does not have a trailing slash, thus we need to add it before to use std::stoul.
-
Tommaso Tocci authored
Implemented all the logic to handle truncate operation. Test: added truncate test
-
Tommaso Tocci authored
-
Tommaso Tocci authored
In the daemon read handler manage read beyond end of file as normal case and not exceptional
-
Tommaso Tocci authored
-
Tommaso Tocci authored
According to the read manpage a read could return less bytes then requested due to an interrupt or an error. We now try to repeat the read operation until all the existent data have been read correctly.
-
Tommaso Tocci authored
The ChunkStorage class now store the chunksize in order to perform runtime checks upon chunks bundaries.
-
Tommaso Tocci authored
Mercury now support shared memory autorouting. A single margo instance can be initialized and it will handle both shared memory communication and remote ones. If the endpoint of the RPC is local mercury will automatically use shared memory. Since there is only one margo instance all the duplicated code for rpc/ipc have been unified and simplified considerably. ------ The way in which client contact the server has changed. - Server initializes its own margo instance and generate the endpoint communication string using `HG_Addr_self`. - This endpoint description string is written on the pid file - When the client library loads it will fetch the server endpoint description from the pid file and will use that to contact the server.
-
- Oct 29, 2018
-
-
Tommaso Tocci authored
-
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
-