Loading include/common/metadata.hpp +0 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,6 @@ #include <string> #include <cstdint> namespace gkfs::metadata { constexpr mode_t LINK_MODE = ((S_IRWXU | S_IRWXG | S_IRWXO) | S_IFLNK); Loading src/client/gkfs_functions.cpp +2 −3 Original line number Diff line number Diff line Loading @@ -911,9 +911,8 @@ gkfs_pwrite(std::shared_ptr<gkfs::filemap::OpenFile> file, const char* buf, write_size = ret_write.second; if(num_replicas > 0) { auto ret_write_repl = gkfs::rpc::forward_write(*path, buf, append_flag, offset, count, updated_size, num_replicas); auto ret_write_repl = gkfs::rpc::forward_write(*path, buf, offset, count, num_replicas); if(err and ret_write_repl.first == 0) { // We succesfully write the data to some replica Loading Loading
include/common/metadata.hpp +0 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,6 @@ #include <string> #include <cstdint> namespace gkfs::metadata { constexpr mode_t LINK_MODE = ((S_IRWXU | S_IRWXG | S_IRWXO) | S_IFLNK); Loading
src/client/gkfs_functions.cpp +2 −3 Original line number Diff line number Diff line Loading @@ -911,9 +911,8 @@ gkfs_pwrite(std::shared_ptr<gkfs::filemap::OpenFile> file, const char* buf, write_size = ret_write.second; if(num_replicas > 0) { auto ret_write_repl = gkfs::rpc::forward_write(*path, buf, append_flag, offset, count, updated_size, num_replicas); auto ret_write_repl = gkfs::rpc::forward_write(*path, buf, offset, count, num_replicas); if(err and ret_write_repl.first == 0) { // We succesfully write the data to some replica Loading