- 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
-
Tommaso Tocci authored
Ensure that the parent directory exists before to make a new node
-
Tommaso Tocci authored
opendir need to check that the given path is actually a directory before to open it. Moreover now open can be called with the O_DIRECTORY flag in order to open an existent directory
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
- May 17, 2018
-
-
Tommaso Tocci authored
-
- May 10, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-
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
Allow to add already instantiated OpenFile to the OpenFileMap. This will come in hands when we will have sub-classes of the OpenFile. In that case this new add function will accept all object that are derived from the OpenFile class. See directories functionalities.
-
- May 08, 2018
-
-
Tommaso Tocci authored
-
Tommaso Tocci authored
-