Loading CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ### New - Additional tests to increase code coverage ([!141](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/141)). - GKFS_ENABLE_UNUSED_FUNCTIONS added to disable code to increase code coverage. ### Changed - Support parallelism for path resolution tests ([!145](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/145)). - Support parallelism for symlink tests ([!147](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/147)). Loading CMakeLists.txt +2 −0 Original line number Diff line number Diff line Loading @@ -178,6 +178,8 @@ if (GKFS_ENABLE_AGIOS) find_package(AGIOS REQUIRED) endif () option(GKFS_ENABLE_UNUSED_FUNCTIONS "Enable unused functions compilation" OFF) option(GKFS_ENABLE_PARALLAX "Enable Parallax db backend" OFF) option(GKFS_ENABLE_ROCKSDB "Enable ROCKSDB backend" ON) Loading include/common/rpc/rpc_util.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ bool_to_merc_bool(bool state); std::string get_my_hostname(bool short_hostname = false); #ifdef ENABLE_UNUSED_FUNCTIONS #ifdef GKFS_ENABLE_UNUSED_FUNCTIONS std::string get_host_by_name(const std::string& hostname); #endif Loading src/client/gkfs_functions.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -411,7 +411,7 @@ gkfs_statfs(struct statfs* buf) { return 0; } #ifdef ENABLE_UNUSED_FUNCTIONS #ifdef GKFS_ENABLE_UNUSED_FUNCTIONS /** * gkfs wrapper for statvfs() system calls * errno may be set Loading Loading @@ -1096,7 +1096,7 @@ gkfs_getdents64(unsigned int fd, struct linux_dirent64* dirp, #ifdef HAS_SYMLINKS #ifdef ENABLE_UNUSED_FUNCTIONS #ifdef GKFS_ENABLE_UNUSED_FUNCTIONS /** * gkfs wrapper for make symlink() system calls * errno may be set Loading src/common/rpc/rpc_util.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ get_my_hostname(bool short_hostname) { return ""s; } #ifdef ENABLE_UNUSED_FUNCTIONS #ifdef GKFS_ENABLE_UNUSED_FUNCTIONS string get_host_by_name(const string& hostname) { int err = 0; Loading Loading
CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ### New - Additional tests to increase code coverage ([!141](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/141)). - GKFS_ENABLE_UNUSED_FUNCTIONS added to disable code to increase code coverage. ### Changed - Support parallelism for path resolution tests ([!145](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/145)). - Support parallelism for symlink tests ([!147](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/147)). Loading
CMakeLists.txt +2 −0 Original line number Diff line number Diff line Loading @@ -178,6 +178,8 @@ if (GKFS_ENABLE_AGIOS) find_package(AGIOS REQUIRED) endif () option(GKFS_ENABLE_UNUSED_FUNCTIONS "Enable unused functions compilation" OFF) option(GKFS_ENABLE_PARALLAX "Enable Parallax db backend" OFF) option(GKFS_ENABLE_ROCKSDB "Enable ROCKSDB backend" ON) Loading
include/common/rpc/rpc_util.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ bool_to_merc_bool(bool state); std::string get_my_hostname(bool short_hostname = false); #ifdef ENABLE_UNUSED_FUNCTIONS #ifdef GKFS_ENABLE_UNUSED_FUNCTIONS std::string get_host_by_name(const std::string& hostname); #endif Loading
src/client/gkfs_functions.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -411,7 +411,7 @@ gkfs_statfs(struct statfs* buf) { return 0; } #ifdef ENABLE_UNUSED_FUNCTIONS #ifdef GKFS_ENABLE_UNUSED_FUNCTIONS /** * gkfs wrapper for statvfs() system calls * errno may be set Loading Loading @@ -1096,7 +1096,7 @@ gkfs_getdents64(unsigned int fd, struct linux_dirent64* dirp, #ifdef HAS_SYMLINKS #ifdef ENABLE_UNUSED_FUNCTIONS #ifdef GKFS_ENABLE_UNUSED_FUNCTIONS /** * gkfs wrapper for make symlink() system calls * errno may be set Loading
src/common/rpc/rpc_util.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ get_my_hostname(bool short_hostname) { return ""s; } #ifdef ENABLE_UNUSED_FUNCTIONS #ifdef GKFS_ENABLE_UNUSED_FUNCTIONS string get_host_by_name(const string& hostname) { int err = 0; Loading