Verified Commit 3505bc9d authored by Marc Vef's avatar Marc Vef
Browse files

Disable symlinks and rename support by default

parent e2805cd3
Loading
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -147,16 +147,18 @@ endif()
option(CREATE_CHECK_PARENTS "Check parent directory existance before creating child node" ON)
message(STATUS "[gekkofs] Create checks parents: ${CREATE_CHECK_PARENTS}")

option(SYMLINK_SUPPORT "Compile with support for symlinks" ON)
option(SYMLINK_SUPPORT "Compile with support for symlinks" OFF)
if (SYMLINK_SUPPORT)
    add_definitions(-DHAS_SYMLINKS)
endif ()
message(STATUS "[gekkofs] Symlink support: ${SYMLINK_SUPPORT}")

option(RENAME_SUPPORT "Compile with support for rename ops" ON)
option(RENAME_SUPPORT "Compile with support for rename ops" OFF)
if (RENAME_SUPPORT)
    # Rename depends on symlink support
    add_definitions(-DHAS_SYMLINKS)
    set(SYMLINK_SUPPORT ON)
    add_definitions(-DHAS_RENAME)
endif ()
message(STATUS "[gekkofs] Symlink support: ${SYMLINK_SUPPORT}")
message(STATUS "[gekkofs] Rename support: ${RENAME_SUPPORT}")

set(MAX_INTERNAL_FDS 256 CACHE STRING "Number of file descriptors reserved for internal use")
+11 −6
Original line number Diff line number Diff line
@@ -270,7 +270,7 @@ Then, the `examples/distributors/guided/generate.py` scrpt is used to create the

Finally, modify `guided_config.txt` to your distribution requirements.

### Metadata Backends
## Metadata Backends

There are two different metadata backends in GekkoFS. The default one uses `rocksdb`, however an alternative based
on `PARALLAX` from `FORTH`
@@ -279,7 +279,7 @@ with `-DGKFS_ENABLE_ROCKSDB:BOOL=OFF`.

Once it is enabled, `--dbbackend` option will be functional.

### Statistics
## Statistics

GekkoFS daemons are able to output general operations (`--enable-collection`) and data chunk
statistics (`--enable-chunkstats`) to a specified output file via `--output-stats <FILE>`. Prometheus can also be used
@@ -287,12 +287,17 @@ instead or in addition to the output file. It must be enabled at compile time vi
argument `-DGKFS_ENABLE_PROMETHEUS` and the daemon argument `--enable-prometheus`. The corresponding statistics are then
pushed to the Prometheus instance.

## Advanced experimental features

### Rename

`-DRENAME_SUPPORT` allows the application to rename files.
This is an experimental feature, and some scenarios may not work properly.
Support for fstat in renamed files is included.

### Acknowledgment
This is disabled by default.

## Acknowledgment

This software was partially supported by the EC H2020 funded NEXTGenIO project (Project ID: 671951, www.nextgenio.eu).