Function gkfs::utils::update_file_size

Function Documentation

std::pair<int, off64_t> gkfs::utils::update_file_size(const std::string &path, size_t count, off64_t offset, bool is_append)

Updates write size on the metadata daemon.

Parameters:
  • path –

  • count –

  • offset –

  • is_append –

Returns:

<err, return_offset>