Function gkfs::rpc::forward_read(const string&, void *, const off64_t, const size_t)

Function Documentation

pair<int, ssize_t> gkfs::rpc::forward_read(const string &path, void *buf, const off64_t offset, const size_t read_size)

Send an RPC request to read to a buffer.

Parameters
  • path

  • buf

  • offset

  • read_size

Returns

pair<error code, read size>