Loading CMake/gkfs-options.cmake +9 −0 Original line number Diff line number Diff line Loading @@ -227,6 +227,15 @@ gkfs_define_option( DEFAULT_VALUE OFF ) # build performance tests gkfs_define_option( GKFS_BUILD_PERFORMANCE HELP_TEXT "Build ${PROJECT_NAME} performance benchmarks" DEFAULT_VALUE OFF DESCRIPTION "Compile standalone performance benchmark tests" FEATURE_NAME "PERF" ) # build tools gkfs_define_option( GKFS_BUILD_TOOLS Loading CMakeLists.txt +5 −0 Original line number Diff line number Diff line Loading @@ -356,6 +356,11 @@ endif () ### variables. mark_variables_as_advanced(REGEX "^(FETCHCONTENT|fmt|FMT|spdlog|SPDLOG)_.*$") if (GKFS_BUILD_PERFORMANCE) message(STATUS "[${PROJECT_NAME}] Building performance benchmarks...") add_subdirectory(perf_tests) endif() if (GKFS_BUILD_TESTS) # Boost preprocessor header-only is supplied by the Mercury installation find_package(Boost_preprocessor REQUIRED) Loading include/client/gkfs_functions.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ int gkfs_libcremove(const std::string& path); int gkfs_remove(const std::string& path); gkfs_remove(const std::string& path, bool is_rename_stub = false); // Implementation of access, // Follow links is true by default Loading include/client/rpc/forward_metadata.hpp +5 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,11 @@ int forward_remove(const std::string& path, bool rm_dir, const int8_t num_copies, int64_t size); int forward_remove(const std::string& path, bool rm_dir, const int8_t num_copies, int64_t& size, uint32_t& mode, std::string& target_path, bool is_rename_stub = false); int forward_decr_size(const std::string& path, size_t length, const int copy); Loading include/client/user_functions.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ gkfs_create(const std::string& path, mode_t mode); int gkfs_libcremove(const std::string& path); int gkfs_remove(const std::string& path); gkfs_remove(const std::string& path, bool is_rename_stub = false); int gkfs_rmdir(const std::string& path); Loading Loading
CMake/gkfs-options.cmake +9 −0 Original line number Diff line number Diff line Loading @@ -227,6 +227,15 @@ gkfs_define_option( DEFAULT_VALUE OFF ) # build performance tests gkfs_define_option( GKFS_BUILD_PERFORMANCE HELP_TEXT "Build ${PROJECT_NAME} performance benchmarks" DEFAULT_VALUE OFF DESCRIPTION "Compile standalone performance benchmark tests" FEATURE_NAME "PERF" ) # build tools gkfs_define_option( GKFS_BUILD_TOOLS Loading
CMakeLists.txt +5 −0 Original line number Diff line number Diff line Loading @@ -356,6 +356,11 @@ endif () ### variables. mark_variables_as_advanced(REGEX "^(FETCHCONTENT|fmt|FMT|spdlog|SPDLOG)_.*$") if (GKFS_BUILD_PERFORMANCE) message(STATUS "[${PROJECT_NAME}] Building performance benchmarks...") add_subdirectory(perf_tests) endif() if (GKFS_BUILD_TESTS) # Boost preprocessor header-only is supplied by the Mercury installation find_package(Boost_preprocessor REQUIRED) Loading
include/client/gkfs_functions.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ int gkfs_libcremove(const std::string& path); int gkfs_remove(const std::string& path); gkfs_remove(const std::string& path, bool is_rename_stub = false); // Implementation of access, // Follow links is true by default Loading
include/client/rpc/forward_metadata.hpp +5 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,11 @@ int forward_remove(const std::string& path, bool rm_dir, const int8_t num_copies, int64_t size); int forward_remove(const std::string& path, bool rm_dir, const int8_t num_copies, int64_t& size, uint32_t& mode, std::string& target_path, bool is_rename_stub = false); int forward_decr_size(const std::string& path, size_t length, const int copy); Loading
include/client/user_functions.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ gkfs_create(const std::string& path, mode_t mode); int gkfs_libcremove(const std::string& path); int gkfs_remove(const std::string& path); gkfs_remove(const std::string& path, bool is_rename_stub = false); int gkfs_rmdir(const std::string& path); Loading