Function gkfs::rpc::forward_update_metadentry_size(const string&, const size_t, const off64_t, const bool, const int)
Defined in File forward_metadata.cpp
Function Documentation
-
pair<int, off64_t> gkfs::rpc::forward_update_metadentry_size(const string &path, const size_t size, const off64_t offset, const bool append_flag, const int num_copies)
Send an RPC request for an update to the file size. This is called during a write() call or similar A single correct call is needed only to progress.
- Parameters:
path –
size –
offset –
append_flag –
num_copies – number of replicas
- Returns:
pair<error code, size after update>