- Feb 10, 2020
-
-
Marc Vef authored
-
- Feb 09, 2020
- Feb 07, 2020
-
-
Marc Vef authored
Restructuring code w.r.t. configurations and definitions: - #defines have been mostly removed from configurations - a dedicated config file has been added for configurations with constexpr - past configure file is now only a cmake wrapper - wrapping global functions into namespaces Removed all adafs and ifs occurrences. Now called gkfs
-
- Jan 29, 2020
-
-
Alberto Miranda authored
-
- Nov 04, 2019
-
-
Alberto Miranda authored
-
- Oct 10, 2019
-
-
Alberto Miranda authored
-
- Oct 07, 2019
-
-
Tommaso Tocci authored
-
- Oct 03, 2019
-
-
Tommaso Tocci authored
CREATE_CHECK_PARENTS controls if the existance of the parent node needs to be checked during the creation of a child node. Example: The check prevents the creation of file `/parent/child` if `/parent` doesn't exists or if it is not a directory By default CREATE_CHECK_PARENTS is enable and the check is enforced. It can be disable to speedup creation operations by passing `-DCREATE_CHECK_PARENTS:BOOL=OFF` as cmake parameter.
-
Tommaso Tocci authored
-
Ramon Nou authored
-
Tommaso Tocci authored
-
- Sep 11, 2019
-
-
Tommaso Tocci authored
-
-
- Jul 26, 2019
-
-
Tommaso Tocci authored
lseek was triggering a number overflow by converting long to integer on its return value Added specific lseek test
-
- Apr 24, 2019
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
- Apr 10, 2019
-
-
Tommaso Tocci authored
-
- Mar 06, 2019
-
-
Tommaso Tocci authored
CHECK_ACCESS didn't make any sense since internally we don't support uid/gid DO_LOOKUP were not used at all
-
Tommaso Tocci authored
The access RPC have been removed. The POSIX access functionality now is implemented through the stat RPC. This makes code easier to maintain and modify. There would be a little performance degradation on the POSIX access function because we are now retrieving also the metadata associated to the file. This change makes a lot easier to add symlink support
-
- Mar 05, 2019
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
- Jan 31, 2019
-
-
Tommaso Tocci authored
- improved statfs system call - intercepted statvfs library call Both of the above function now report the aggregated real size of all the data-nodes. You can test this with `df "/tmp/gekkofs_mountpoint"` command
-
- Nov 26, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
- Nov 09, 2018
-
-
Tommaso Tocci authored
-
- Nov 07, 2018
-
-
Tommaso Tocci authored
- Added adafs_pwrite and adafs_pread functions: they accept an OpenFile pointer instead of a fd so that can be called by function that already accessed the OpenFileMap. - Moved the writev function into internal adafs functions. - Added internal adafs_write function: instead messing up with the file position at the interception layer, we can use this internal function that hides the update of the file position two.
-
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`.
-
- Nov 04, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
Instead of using the more complex adafs_pread function now is possible to use adafs_read when it is necessary to read starting from the current file position
-
- Nov 03, 2018
-
-
Tommaso Tocci authored
-
- Nov 02, 2018
-
-
Tommaso Tocci authored
-
- Oct 31, 2018
-
-
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
-