Namespaces | |
model | |
Classes | |
class | DFS |
class | file |
class | vdfs |
Typedefs | |
using | vec_str = std::vector< std::string > |
Functions | |
shared_ptr< FileDescription > | get_file_description (std::function< unique_ptr< tcp::socket >(uint32_t)> connect, std::string &fname, bool logical_block=false) |
void | read_from_disk (char *buf, BlockInfo chunk, uint64_t *read_bytes, uint64_t cursor, uint64_t length) |
void | read_from_remote (char *buf, BlockInfo chunk, uint64_t *read_bytes, uint64_t cursor, uint64_t length, int which_node) |
uint64_t | read_physical (std::string &file_name, char *buf, uint64_t off, uint64_t len, FileDescription *fd) |
uint64_t | read_logical (std::string &file_name, char *buf, uint64_t off, uint64_t len, FileDescription *fd) |
model::metadata | make_metadata (FileInfo *fi) |
Variables | |
std::map< std::string, std::shared_ptr < FileDescription > > | file_description_cache |
using velox::vec_str = typedef std::vector<std::string> |
shared_ptr<FileDescription> velox::get_file_description | ( | std::function< unique_ptr< tcp::socket >(uint32_t)> | connect, |
std::string & | fname, | ||
bool | logical_block = false |
||
) |
model::metadata velox::make_metadata | ( | FileInfo * | fi | ) |
void velox::read_from_disk | ( | char * | buf, |
BlockInfo | chunk, | ||
uint64_t * | read_bytes, | ||
uint64_t | cursor, | ||
uint64_t | length | ||
) |
void velox::read_from_remote | ( | char * | buf, |
BlockInfo | chunk, | ||
uint64_t * | read_bytes, | ||
uint64_t | cursor, | ||
uint64_t | length, | ||
int | which_node | ||
) |
uint64_t velox::read_logical | ( | std::string & | file_name, |
char * | buf, | ||
uint64_t | off, | ||
uint64_t | len, | ||
FileDescription * | fd | ||
) |
uint64_t velox::read_physical | ( | std::string & | file_name, |
char * | buf, | ||
uint64_t | off, | ||
uint64_t | len, | ||
FileDescription * | fd | ||
) |
std::map<std::string, std::shared_ptr<FileDescription> > velox::file_description_cache |