Loading CMakeLists.txt +6 −4 Original line number Original line Diff line number Diff line Loading @@ -147,16 +147,18 @@ endif() option(CREATE_CHECK_PARENTS "Check parent directory existance before creating child node" ON) option(CREATE_CHECK_PARENTS "Check parent directory existance before creating child node" ON) message(STATUS "[gekkofs] Create checks parents: ${CREATE_CHECK_PARENTS}") 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) if (SYMLINK_SUPPORT) add_definitions(-DHAS_SYMLINKS) add_definitions(-DHAS_SYMLINKS) endif () endif () message(STATUS "[gekkofs] Symlink support: ${SYMLINK_SUPPORT}") option(RENAME_SUPPORT "Compile with support for rename ops" OFF) option(RENAME_SUPPORT "Compile with support for rename ops" ON) if (RENAME_SUPPORT) if (RENAME_SUPPORT) # Rename depends on symlink support add_definitions(-DHAS_SYMLINKS) set(SYMLINK_SUPPORT ON) add_definitions(-DHAS_RENAME) add_definitions(-DHAS_RENAME) endif () endif () message(STATUS "[gekkofs] Symlink support: ${SYMLINK_SUPPORT}") message(STATUS "[gekkofs] Rename support: ${RENAME_SUPPORT}") message(STATUS "[gekkofs] Rename support: ${RENAME_SUPPORT}") set(MAX_INTERNAL_FDS 256 CACHE STRING "Number of file descriptors reserved for internal use") set(MAX_INTERNAL_FDS 256 CACHE STRING "Number of file descriptors reserved for internal use") Loading README.md +11 −6 Original line number Original line Diff line number Diff line Loading @@ -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. 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 There are two different metadata backends in GekkoFS. The default one uses `rocksdb`, however an alternative based on `PARALLAX` from `FORTH` on `PARALLAX` from `FORTH` Loading @@ -279,7 +279,7 @@ with `-DGKFS_ENABLE_ROCKSDB:BOOL=OFF`. Once it is enabled, `--dbbackend` option will be functional. Once it is enabled, `--dbbackend` option will be functional. ### Statistics ## Statistics GekkoFS daemons are able to output general operations (`--enable-collection`) and data chunk 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 statistics (`--enable-chunkstats`) to a specified output file via `--output-stats <FILE>`. Prometheus can also be used Loading @@ -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 argument `-DGKFS_ENABLE_PROMETHEUS` and the daemon argument `--enable-prometheus`. The corresponding statistics are then pushed to the Prometheus instance. pushed to the Prometheus instance. ## Advanced experimental features ### Rename ### Rename `-DRENAME_SUPPORT` allows the application to rename files. `-DRENAME_SUPPORT` allows the application to rename files. This is an experimental feature, and some scenarios may not work properly. This is an experimental feature, and some scenarios may not work properly. Support for fstat in renamed files is included. 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). This software was partially supported by the EC H2020 funded NEXTGenIO project (Project ID: 671951, www.nextgenio.eu). Loading Loading
CMakeLists.txt +6 −4 Original line number Original line Diff line number Diff line Loading @@ -147,16 +147,18 @@ endif() option(CREATE_CHECK_PARENTS "Check parent directory existance before creating child node" ON) option(CREATE_CHECK_PARENTS "Check parent directory existance before creating child node" ON) message(STATUS "[gekkofs] Create checks parents: ${CREATE_CHECK_PARENTS}") 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) if (SYMLINK_SUPPORT) add_definitions(-DHAS_SYMLINKS) add_definitions(-DHAS_SYMLINKS) endif () endif () message(STATUS "[gekkofs] Symlink support: ${SYMLINK_SUPPORT}") option(RENAME_SUPPORT "Compile with support for rename ops" OFF) option(RENAME_SUPPORT "Compile with support for rename ops" ON) if (RENAME_SUPPORT) if (RENAME_SUPPORT) # Rename depends on symlink support add_definitions(-DHAS_SYMLINKS) set(SYMLINK_SUPPORT ON) add_definitions(-DHAS_RENAME) add_definitions(-DHAS_RENAME) endif () endif () message(STATUS "[gekkofs] Symlink support: ${SYMLINK_SUPPORT}") message(STATUS "[gekkofs] Rename support: ${RENAME_SUPPORT}") message(STATUS "[gekkofs] Rename support: ${RENAME_SUPPORT}") set(MAX_INTERNAL_FDS 256 CACHE STRING "Number of file descriptors reserved for internal use") set(MAX_INTERNAL_FDS 256 CACHE STRING "Number of file descriptors reserved for internal use") Loading
README.md +11 −6 Original line number Original line Diff line number Diff line Loading @@ -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. 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 There are two different metadata backends in GekkoFS. The default one uses `rocksdb`, however an alternative based on `PARALLAX` from `FORTH` on `PARALLAX` from `FORTH` Loading @@ -279,7 +279,7 @@ with `-DGKFS_ENABLE_ROCKSDB:BOOL=OFF`. Once it is enabled, `--dbbackend` option will be functional. Once it is enabled, `--dbbackend` option will be functional. ### Statistics ## Statistics GekkoFS daemons are able to output general operations (`--enable-collection`) and data chunk 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 statistics (`--enable-chunkstats`) to a specified output file via `--output-stats <FILE>`. Prometheus can also be used Loading @@ -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 argument `-DGKFS_ENABLE_PROMETHEUS` and the daemon argument `--enable-prometheus`. The corresponding statistics are then pushed to the Prometheus instance. pushed to the Prometheus instance. ## Advanced experimental features ### Rename ### Rename `-DRENAME_SUPPORT` allows the application to rename files. `-DRENAME_SUPPORT` allows the application to rename files. This is an experimental feature, and some scenarios may not work properly. This is an experimental feature, and some scenarios may not work properly. Support for fstat in renamed files is included. 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). This software was partially supported by the EC H2020 funded NEXTGenIO project (Project ID: 671951, www.nextgenio.eu). Loading