ewmscp
..
|
#include <daosFsCommon.h>
Classes | |
class | attrDataType |
class | daosOptions |
Public Member Functions | |
dfs_obj_t * | getDirObj (const std::string &path) |
daosFsCommon (daosOptions &aOpt, bool isWriter) | |
~daosFsCommon () override | |
bool | pathExists (const std::string &path) override |
std::unique_ptr< const genericStat > | getStat (const std::string &path, bool followLink) override |
std::string | getXattr (const std::string &path, const std::string &name) override |
![]() | |
virtual | ~pathHandler ()=default |
Public Attributes | |
daos_handle_t | poh |
daos_handle_t | coh |
dfs_t * | dfs |
int | flags |
std::map< std::string, dfs_obj_t * > | pathMap |
Protected Attributes | |
daosOptions & | opt |
Definition at line 11 of file daosFsCommon.h.
daosFsCommon::daosFsCommon | ( | daosOptions & | aOpt, |
bool | isWriter | ||
) |
Definition at line 34 of file daosFsCommon.cpp.
References coh, daosFsCommon::daosOptions::containerName, dfs, flags, throwcall::good0(), opt, poh, daosFsCommon::daosOptions::poolName, and daosFsCommon::daosOptions::sysName.
|
override |
Definition at line 44 of file daosFsCommon.cpp.
References coh, daosFsCommon::daosOptions::containerName, dfs, throwcall::good0(), opt, pathMap, poh, daosFsCommon::daosOptions::poolName, and daosFsCommon::daosOptions::sysName.
dfs_obj_t * daosFsCommon::getDirObj | ( | const std::string & | path | ) |
Definition at line 21 of file daosFsCommon.cpp.
References dfs, flags, throwcall::good0(), pathMap, and timerInst.
Referenced by inputHandler::daosFs::DaosFsDirectory::DaosFsDirectory(), getStat(), pathExists(), and inputHandler::daosFs::readerDaosFs::readerDaosFs().
|
overridevirtual |
Implements pathHandler.
Definition at line 68 of file daosFsCommon.cpp.
References dfs, getDirObj(), throwcall::good0(), and timerInst.
|
overridevirtual |
Reimplemented from pathHandler.
Definition at line 92 of file daosFsCommon.cpp.
References throwcall::badval(), dfs, ENOATTR, flags, throwcall::good0(), and timerInst.
|
overridevirtual |
Implements pathHandler.
Definition at line 58 of file daosFsCommon.cpp.
References dfs, getDirObj(), throwcall::good0(), and timerInst.
daos_handle_t daosFsCommon::coh |
Definition at line 14 of file daosFsCommon.h.
Referenced by daosFsCommon(), and ~daosFsCommon().
dfs_t* daosFsCommon::dfs |
Definition at line 15 of file daosFsCommon.h.
Referenced by daosFsCommon(), inputHandler::daosFs::DaosFsDirectory::DaosFsDirectory(), daosFsIoCommon::attrDataType::fill(), getDirObj(), getStat(), daosFsIoCommon::getStat(), getXattr(), daosFsIoCommon::getXattr(), pathExists(), inputHandler::daosFs::readerDaosFs::readerDaosFs(), daosFsIoCommon::removeXattr(), daosFsIoCommon::setXattr(), and ~daosFsCommon().
int daosFsCommon::flags |
Definition at line 16 of file daosFsCommon.h.
Referenced by daosFsCommon(), getDirObj(), and getXattr().
|
protected |
Definition at line 28 of file daosFsCommon.h.
Referenced by daosFsCommon(), and ~daosFsCommon().
std::map<std::string, dfs_obj_t*> daosFsCommon::pathMap |
Definition at line 17 of file daosFsCommon.h.
Referenced by getDirObj(), and ~daosFsCommon().
daos_handle_t daosFsCommon::poh |
Definition at line 13 of file daosFsCommon.h.
Referenced by daosFsCommon(), and ~daosFsCommon().