Function gkfs::rpc::forward_get_metadentry_size(const std::string&, const int)

Function Documentation

std::pair<int, off64_t> gkfs::rpc::forward_get_metadentry_size(const std::string &path, const int copy)

Send an RPC request to get the current file size. This is called during a lseek() call

Parameters:
  • path

  • copy – Target replica (0 original)

Returns:

pair<error code, file size>