- Nov 03, 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.
-
Tommaso Tocci authored
-
Tommaso Tocci authored
avoid construction of intermediate string when prepending the separator
-
Tommaso Tocci authored
Fix IO on directories See merge request zdvresearch_bsc/adafs!92
-
- Nov 02, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
This allowed to avoid improper static_cast to check downcasting
-
- Oct 31, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
changelog for the new version: https://github.com/facebook/rocksdb/releases/tag/v5.15.10
-
Tommaso Tocci authored
Make use of CMAKE_PREFIX_PATH if it is in the current environment
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
makes format of log messages more omogeneus
-
Tommaso Tocci authored
-
Tommaso Tocci authored
compiler need to be informed about dependencies not residing in canonical system folders
-
Tommaso Tocci authored
-
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
-
Tommaso Tocci authored
-
Tommaso Tocci authored
On C++14 make_unique function also zeroes the newly allocated buffer. It turns out that this operation is increadibly slow for such a big buffer. Moreover we don't need a zeroed buffer here.
-
Tommaso Tocci authored
writev could reveive no-ops blocks characterized by a zero size length. We simply need to skip them.
-
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
Some of the variables of stat struct are not initialized, thus they will remains will unpredictable junks data from memory. This random values could induct strange behaviours on user applications. Even if we don't support some of the fields in the struct stat, it is necessary to set them to some default value.
-
Tommaso Tocci authored
-
Tommaso Tocci authored
According to the glibc [1] the stat64 function family would be called only on 32-bit machine. To be sure we still intercept the function, but we now throw a NOTSUP error. In this way we can drop the adafs_stat64 function and implement just the logic to populate the `struct stat`. [1]: https://github.molgen.mpg.de/git-mirror/glibc/blob/20003c49884422da7ffbc459cdeee768a6fee07b/sysdeps/unix/sysv/linux/generic/xstat.c#L46
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
Implemented all the logic to handle truncate operation. Test: added truncate test
-
Tommaso Tocci authored
-
Tommaso Tocci authored
puts has nothing to do with the FS. thus we leave libc handling it directly
-
Tommaso Tocci authored
Ensure that the parent directory exists before to make a new node
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-