xrootd
|
#include <XrdOfs.hh>
Classes | |
struct | fwdOpt |
Public Types | |
enum | { Authorize = 0x0001, isPeer = 0x0050, isProxy = 0x0020, isManager = 0x0040, isServer = 0x0080, isSuper = 0x00C0, isMeta = 0x0100, haveRole = 0x01F0, Forwarding = 0x1000 } |
Public Member Functions | |
XrdSfsDirectory * | newDir (char *user=0) |
XrdSfsFile * | newFile (char *user=0) |
int | chmod (const char *Name, XrdSfsMode Mode, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
int | exists (const char *fileName, XrdSfsFileExistence &exists_flag, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
int | fsctl (const int cmd, const char *args, XrdOucErrInfo &out_error, const XrdSecEntity *client) |
int | getStats (char *buff, int blen) |
const char * | getVersion () |
int | mkdir (const char *dirName, XrdSfsMode Mode, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
int | prepare (XrdSfsPrep &pargs, XrdOucErrInfo &out_error, const XrdSecEntity *client=0) |
int | rem (const char *path, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *info=0) |
int | remdir (const char *dirName, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *info=0) |
int | rename (const char *oldFileName, const char *newFileName, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *infoO=0, const char *infoN=0) |
int | stat (const char *Name, struct stat *buf, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
int | stat (const char *Name, mode_t &mode, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
int | truncate (const char *Name, XrdSfsFileOffset fileOffset, XrdOucErrInfo &out_error, const XrdSecEntity *client=0, const char *opaque=0) |
virtual int | Configure (XrdSysError &) |
void | Config_Cluster (XrdOss *) |
void | Config_Display (XrdSysError &) |
XrdOfs () | |
virtual | ~XrdOfs () |
Public Attributes | |
int | Options |
int | myPort |
struct fwdOpt | fwdCHMOD |
struct fwdOpt | fwdMKDIR |
struct fwdOpt | fwdMKPATH |
struct fwdOpt | fwdMV |
struct fwdOpt | fwdRM |
struct fwdOpt | fwdRMDIR |
struct fwdOpt | fwdTRUNC |
char * | HostName |
char * | HostPref |
char * | ConfigFN |
char * | OssLib |
Static Public Attributes | |
static int | MaxDelay = 60 |
static int | OSSDelay = 30 |
Protected Member Functions | |
virtual int | ConfigXeq (char *var, XrdOucStream &, XrdSysError &) |
int | Stall (XrdOucErrInfo &, int, const char *) |
void | Unpersist (XrdOfsHandle *hP, int xcev=1) |
char * | WaitTime (int, char *, int) |
Static Protected Member Functions | |
static int | Emsg (const char *, XrdOucErrInfo &, int, const char *x, XrdOfsHandle *hP) |
static int | Emsg (const char *, XrdOucErrInfo &, int, const char *x, const char *y="") |
static int | fsError (XrdOucErrInfo &myError, int rc) |
Protected Attributes | |
XrdOfsEvr | evrObject |
XrdCmsClient * | Finder |
Private Member Functions | |
int | remove (const char type, const char *path, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque) |
int | ConfigDispFwd (char *buff, struct fwdOpt &Fwd) |
int | ConfigPosc (XrdSysError &Eroute) |
int | ConfigRedir (XrdSysError &Eroute) |
const char * | Fname (const char *) |
int | Forward (int &Result, XrdOucErrInfo &Resp, struct fwdOpt &Fwd, const char *arg1=0, const char *arg2=0, const char *arg3=0, const char *arg4=0) |
int | setupAuth (XrdSysError &) |
const char * | theRole (int opts) |
int | xalib (XrdOucStream &, XrdSysError &) |
int | xforward (XrdOucStream &, XrdSysError &) |
int | xmaxd (XrdOucStream &, XrdSysError &) |
int | xnmsg (XrdOucStream &, XrdSysError &) |
int | xnot (XrdOucStream &, XrdSysError &) |
int | xolib (XrdOucStream &, XrdSysError &) |
int | xpers (XrdOucStream &, XrdSysError &) |
int | xred (XrdOucStream &, XrdSysError &) |
int | xrole (XrdOucStream &, XrdSysError &) |
int | xtrace (XrdOucStream &, XrdSysError &) |
Private Attributes | |
char * | AuthLib |
char * | AuthParm |
char * | myRole |
XrdAccAuthorize * | Authorization |
XrdCmsClient * | Balancer |
XrdOfsEvs * | evsObject |
char * | locResp |
int | locRlen |
XrdOfsPoscq * | poscQ |
char * | poscLog |
int | poscHold |
int | poscAuto |
XrdSysMutex | ocMutex |
Static Private Attributes | |
static XrdOfsHandle * | dummyHandle |
Friends | |
class | XrdOfsDirectory |
class | XrdOfsFile |
anonymous enum |
XrdOfs::XrdOfs | ( | ) |
References XrdOfsHandle::Alloc(), Authorization, Balancer, ConfigFN, dummyHandle, evsObject, Finder, XrdNetDNS::getHostName(), XrdNetDNS::Host2IP(), HostName, HostPref, XrdNetDNS::IP2String(), locResp, locRlen, myPort, myRole, poscAuto, poscHold, poscLog, and poscQ.
virtual XrdOfs::~XrdOfs | ( | ) | [inline, virtual] |
int XrdOfs::chmod | ( | const char * | Name, |
XrdSfsMode | Mode, | ||
XrdOucErrInfo & | out_error, | ||
const XrdSecEntity * | client, | ||
const char * | opaque = 0 |
||
) | [virtual] |
Implements XrdSfsFileSystem.
References AOP_Chmod, AUTHORIZE, XrdOss::Chmod(), XrdOfsEvs::Chmod, XrdOfs::fwdOpt::Cmd, Emsg(), XrdOfsEvs::Enabled(), EPNAME, evsObject, Finder, Forward(), fsError(), fwdCHMOD, XrdOucErrInfo::getErrUser(), XrdCmsClient::isRemote(), XrdCmsClient::Locate(), XrdOfsEvs::Notify(), S_IAMB, SFS_O_META, SFS_O_RDWR, SFS_OK, tident, and XTRACE.
void XrdOfs::Config_Cluster | ( | XrdOss * | ) |
void XrdOfs::Config_Display | ( | XrdSysError & | Eroute | ) |
References AuthLib, Authorize, XrdOfsEvs::Chmod, XrdOfsEvs::Closer, XrdOfsEvs::Closew, ConfigDispFwd(), ConfigFN, XrdOfsEvs::Create, XrdOfsEvs::Enabled(), evsObject, XrdOucEnv::Export(), Forwarding, fwdCHMOD, fwdMKDIR, fwdMV, fwdRM, fwdRMDIR, fwdTRUNC, XrdOfsEvs::Fwrite, MaxDelay, XrdOfsEvs::maxLmsg(), XrdOfsEvs::maxSmsg(), XrdOfsEvs::Mkdir, XrdOfsEvs::Mv, myRole, XrdOfsEvs::Openr, XrdOfsEvs::Openw, Options, OssLib, poscAuto, poscHold, poscLog, poscQ, XrdOfsEvs::Prog(), XrdOfsEvs::Rm, XrdOfsEvs::Rmdir, XrdSysError::Say(), setBuff, snprintf, XrdOfsEvs::Trunc, and XrdOucTrace::What.
Referenced by Configure(), and XrdSfsGetFileSystem().
int XrdOfs::ConfigDispFwd | ( | char * | buff, |
struct fwdOpt & | Fwd | ||
) | [private] |
References XrdOfs::fwdOpt::Cmd, XrdOfs::fwdOpt::Host, XrdOfs::fwdOpt::Port, and setBuff.
Referenced by Config_Display().
int XrdOfs::ConfigPosc | ( | XrdSysError & | Eroute | ) | [private] |
References XrdOfsPoscq::Request::addT, XrdOfsHandle::Alloc(), XrdOfsPoscq::Del(), XrdSysError::Emsg(), XrdOucUtils::genPath(), XrdOfsPoscq::Init(), XrdOucUtils::InstName(), XrdOfsPoscq::Request::LFN, XrdOucUtils::makePath(), XrdOfsPoscq::recEnt::Mode, XrdOfsPoscq::recEnt::Next, XrdOfsPoscq::recEnt::Offset, XrdOfsHandle::opPC, poscHold, poscLog, poscQ, XrdOfsHandle::PoscSet(), XrdOfsPoscq::recEnt::reqData, XrdOfsHandle::Retire(), S_IROTH, S_IRWXG, S_IRWXU, S_IXOTH, XrdOss::Unlink(), Unpersist(), XrdOfsPoscq::Request::User, and XrdOfsFS.
Referenced by Configure().
int XrdOfs::ConfigRedir | ( | XrdSysError & | Eroute | ) | [private] |
References Balancer, ConfigFN, XrdCmsClient::Configure(), XrdSysError::Emsg(), Finder, isManager, XrdCms::IsMeta, isMeta, isPeer, isProxy, XrdCms::IsRedir, isRedir(), isServer, XrdCms::IsTarget, XrdSysError::logger(), myPort, and Options.
Referenced by Configure().
int XrdOfs::Configure | ( | XrdSysError & | Eroute | ) | [virtual] |
References XrdOucStream::Attach(), Authorize, Balancer, XrdOucStream::Close(), XrdCms::Config, Config_Display(), ConfigFN, ConfigPosc(), ConfigRedir(), ConfigXeq(), XrdOucStream::Echo(), XrdSysError::Emsg(), evrObject, evsObject, XrdOucEnv::Export(), Forwarding, fwdCHMOD, fwdMKDIR, fwdMKPATH, fwdMV, fwdRM, fwdRMDIR, fwdTRUNC, XrdOucStream::GetMyFirstWord(), haveRole, XrdOfsEvr::Init(), isManager, isMeta, isPeer, isProxy, isServer, XrdOucStream::LastError(), XrdSysError::logger(), myPort, myRole, open(), Options, OssLib, poscAuto, XrdOfs::fwdOpt::Reset(), XrdSysError::Say(), XrdOfsStats::setRole(), setupAuth(), XrdOfsEvs::Start(), theRole(), TRACE_debug, TRACE_MOST, XrdOucTrace::What, and XrdOssGetSS().
Referenced by XrdSfsGetDefaultFileSystem(), and XrdSfsGetFileSystem().
int XrdOfs::ConfigXeq | ( | char * | var, |
XrdOucStream & | Config, | ||
XrdSysError & | Eroute | ||
) | [protected, virtual] |
References Authorize, XrdOucStream::Echo(), XrdSysError::Emsg(), XrdOucStream::GetWord(), Options, XrdSysError::Say(), strlcpy(), TS_Bit, TS_Xeq, xalib(), xforward(), xmaxd(), xnmsg(), xnot(), xolib(), xpers(), xred(), xrole(), and xtrace().
Referenced by Configure().
int XrdOfs::Emsg | ( | const char * | pfx, |
XrdOucErrInfo & | einfo, | ||
int | ecode, | ||
const char * | x, | ||
XrdOfsHandle * | hP | ||
) | [static, protected] |
References XrdOfsHandle::isRW, XrdOfsHandle::Lock(), XrdOfsHandle::Name(), XrdOfsHandle::opPC, SFS_ERROR, XrdOfsHandle::UnLock(), and Unpersist().
Referenced by chmod(), XrdOfsFile::close(), XrdOfsDirectory::close(), exists(), fsctl(), mkdir(), XrdOfsDirectory::nextEntry(), XrdTokenAuthzOfsFile::open(), XrdOfsFile::open(), XrdOfsDirectory::open(), XrdOfsFile::read(), XrdTokenAuthzOfs::rem(), remove(), rename(), XrdTokenAuthzOfs::stat(), stat(), XrdOfsFile::stat(), XrdOfsFile::sync(), truncate(), XrdOfsFile::truncate(), and XrdOfsFile::write().
int XrdOfs::Emsg | ( | const char * | pfx, |
XrdOucErrInfo & | einfo, | ||
int | ecode, | ||
const char * | x, | ||
const char * | y = "" |
||
) | [static, protected] |
int XrdOfs::exists | ( | const char * | fileName, |
XrdSfsFileExistence & | exists_flag, | ||
XrdOucErrInfo & | out_error, | ||
const XrdSecEntity * | client, | ||
const char * | opaque = 0 |
||
) | [virtual] |
Implements XrdSfsFileSystem.
References AOP_Stat, AUTHORIZE, Emsg(), EPNAME, Finder, fsError(), XrdOucErrInfo::getErrUser(), XrdCmsClient::isRemote(), XrdCmsClient::Locate(), S_ISDIR, S_ISREG, SFS_O_RDONLY, SFS_OK, XrdOss::Stat(), stat(), tident, XrdSfsFileExistIsDirectory, XrdSfsFileExistIsFile, XrdSfsFileExistNo, and XTRACE.
const char * XrdOfs::Fname | ( | const char * | path | ) | [private] |
Referenced by Stall().
int XrdOfs::Forward | ( | int & | Result, |
XrdOucErrInfo & | Resp, | ||
struct fwdOpt & | Fwd, | ||
const char * | arg1 = 0 , |
||
const char * | arg2 = 0 , |
||
const char * | arg3 = 0 , |
||
const char * | arg4 = 0 |
||
) | [private] |
References XrdOfs::fwdOpt::Cmd, Finder, XrdCmsClient::Forward(), fsError(), XrdOfs::fwdOpt::Host, XrdOfs::fwdOpt::Port, XrdOucErrInfo::setErrInfo(), SFS_OK, and SFS_REDIRECT.
Referenced by chmod(), mkdir(), remove(), rename(), and truncate().
int XrdOfs::fsctl | ( | const int | cmd, |
const char * | args, | ||
XrdOucErrInfo & | out_error, | ||
const XrdSecEntity * | client | ||
) | [virtual] |
Implements XrdSfsFileSystem.
References XrdAccAuthorize::Access(), AOP_Any, AOP_Stat, Authorization, AUTHORIZE, Emsg(), EPNAME, Finder, fsError(), XrdOucErrInfo::getErrUser(), XrdOucErrInfo::getMsgBuff(), index(), XrdCmsClient::isRemote(), XrdCmsClient::Locate(), locResp, locRlen, Path, S_IWUSR, XrdOucErrInfo::setErrCode(), XrdOucErrInfo::setErrInfo(), SFS_DATA, SFS_FSCTL_CMD, SFS_FSCTL_LOCATE, SFS_FSCTL_STATFS, SFS_FSCTL_STATLS, SFS_FSCTL_STATXA, SFS_O_LOCATE, SFS_O_NOWAIT, SFS_O_RDONLY, SFS_O_RESET, SFS_O_STAT, SFS_O_TRUNC, XrdCmsClient::Space(), XrdOss::Stat(), stat(), XrdOss::StatFS(), XrdOss::StatLS(), XrdOss::StatXA(), tident, XrdAccPriv_All, XrdAccPriv_Delete, XrdAccPriv_Insert, XrdAccPriv_Lock, XrdAccPriv_Lookup, XrdAccPriv_Read, XrdAccPriv_Rename, XrdAccPriv_Write, and XTRACE.
int XrdOfs::fsError | ( | XrdOucErrInfo & | myError, |
int | rc | ||
) | [static, protected] |
References XrdOfsStats::Data, EINPROGRESS, XrdOfsStats::StatsData::numDelays, XrdOfsStats::StatsData::numErrors, XrdOfsStats::StatsData::numRedirect, XrdOfsStats::StatsData::numReplies, XrdOfsStats::StatsData::numStarted, SFS_DATA, SFS_ERROR, SFS_REDIRECT, and SFS_STARTED.
Referenced by chmod(), exists(), Forward(), fsctl(), mkdir(), XrdOfsFile::open(), prepare(), remove(), rename(), stat(), and truncate().
int XrdOfs::getStats | ( | char * | buff, |
int | blen | ||
) | [virtual] |
Implements XrdSfsFileSystem.
Reimplemented in XrdTokenAuthzOfs.
References XrdOfsStats::Report(), and XrdOss::Stats().
const char * XrdOfs::getVersion | ( | ) | [virtual] |
int XrdOfs::mkdir | ( | const char * | dirName, |
XrdSfsMode | Mode, | ||
XrdOucErrInfo & | out_error, | ||
const XrdSecEntity * | client, | ||
const char * | opaque = 0 |
||
) | [virtual] |
Implements XrdSfsFileSystem.
References AOP_Mkdir, AUTHORIZE, XrdOfs::fwdOpt::Cmd, Emsg(), XrdOfsEvs::Enabled(), EPNAME, evsObject, Finder, Forward(), fsError(), fwdMKDIR, fwdMKPATH, XrdOucErrInfo::getErrUser(), XrdCmsClient::isRemote(), XrdCmsClient::Locate(), XrdOfsEvs::Mkdir, XrdOss::Mkdir(), XrdOfsEvs::Notify(), S_IAMB, SFS_O_CREAT, SFS_O_META, SFS_O_MKPTH, SFS_O_RDWR, SFS_OK, tident, and XTRACE.
XrdSfsDirectory* XrdOfs::newDir | ( | char * | user = 0 | ) | [inline, virtual] |
XrdSfsFile* XrdOfs::newFile | ( | char * | user = 0 | ) | [inline, virtual] |
int XrdOfs::prepare | ( | XrdSfsPrep & | pargs, |
XrdOucErrInfo & | out_error, | ||
const XrdSecEntity * | client = 0 |
||
) | [virtual] |
Implements XrdSfsFileSystem.
References AOP_Read, AUTHORIZE, EPNAME, Finder, fsError(), XrdOucTList::next, XrdSfsPrep::paths, XrdCmsClient::Prepare(), and XrdOucTList::text.
int XrdOfs::rem | ( | const char * | path, |
XrdOucErrInfo & | out_error, | ||
const XrdSecEntity * | client, | ||
const char * | info = 0 |
||
) | [inline, virtual] |
Implements XrdSfsFileSystem.
Reimplemented in XrdTokenAuthzOfs.
Referenced by XrdTokenAuthzOfs::rem().
int XrdOfs::remdir | ( | const char * | dirName, |
XrdOucErrInfo & | out_error, | ||
const XrdSecEntity * | client, | ||
const char * | info = 0 |
||
) | [inline, virtual] |
Implements XrdSfsFileSystem.
int XrdOfs::remove | ( | const char | type, |
const char * | path, | ||
XrdOucErrInfo & | out_error, | ||
const XrdSecEntity * | client, | ||
const char * | opaque | ||
) | [private] |
References AOP_Delete, AUTHORIZE, Balancer, XrdOfs::fwdOpt::Cmd, Emsg(), XrdOfsEvs::Enabled(), EPNAME, evsObject, Finder, Forward(), fsError(), fwdRM, fwdRMDIR, XrdOucEnv::Get(), XrdOucErrInfo::getErrUser(), XrdOfsHandle::Hide(), XrdCmsClient::isRemote(), XrdCmsClient::Locate(), XrdOfsEvs::Notify(), XrdOss::Remdir(), XrdCmsClient::Removed(), XrdOfsEvs::Rm, XrdOfsEvs::Rmdir, SFS_O_META, SFS_O_WRONLY, SFS_OK, tident, XrdOss::Unlink(), XRDOSS_Online, and XTRACE.
int XrdOfs::rename | ( | const char * | oldFileName, |
const char * | newFileName, | ||
XrdOucErrInfo & | out_error, | ||
const XrdSecEntity * | client, | ||
const char * | infoO = 0 , |
||
const char * | infoN = 0 |
||
) | [virtual] |
Implements XrdSfsFileSystem.
References XrdCmsClient::Added(), AOP_Insert, AOP_Rename, AUTHORIZE2, Balancer, XrdOfs::fwdOpt::Cmd, Emsg(), XrdOfsEvs::Enabled(), EPNAME, evsObject, Finder, Forward(), fsError(), fwdMV, XrdOucErrInfo::getErrUser(), XrdOfsHandle::Hide(), XrdCmsClient::isRemote(), XrdCmsClient::Locate(), XrdOfsEvs::Mv, XrdOfsEvs::Notify(), XrdCmsClient::Removed(), XrdOss::Rename(), SFS_O_META, SFS_O_RDWR, SFS_OK, tident, and XTRACE.
int XrdOfs::setupAuth | ( | XrdSysError & | Eroute | ) | [private] |
References AuthLib, Authorization, AuthParm, ConfigFN, XrdSysPlugin::getPlugin(), XrdSysError::logger(), and XrdAccDefaultAuthorizeObject().
Referenced by Configure().
int XrdOfs::Stall | ( | XrdOucErrInfo & | einfo, |
int | stime, | ||
const char * | path | ||
) | [protected] |
References EPNAME, Fname(), MaxDelay, XrdOucErrInfo::setErrInfo(), snprintf, tident, WaitTime(), and ZTRACE.
Referenced by XrdOfsFile::open().
int XrdOfs::stat | ( | const char * | Name, |
struct stat * | buf, | ||
XrdOucErrInfo & | out_error, | ||
const XrdSecEntity * | client, | ||
const char * | opaque = 0 |
||
) | [virtual] |
Implements XrdSfsFileSystem.
Reimplemented in XrdTokenAuthzOfs.
References AOP_Stat, AUTHORIZE, Emsg(), EPNAME, Finder, fsError(), XrdOucErrInfo::getErrUser(), XrdCmsClient::isRemote(), XrdCmsClient::Locate(), SFS_O_RDONLY, SFS_O_STAT, SFS_OK, XrdOss::Stat(), tident, and XTRACE.
int XrdOfs::stat | ( | const char * | Name, |
mode_t & | mode, | ||
XrdOucErrInfo & | out_error, | ||
const XrdSecEntity * | client, | ||
const char * | opaque = 0 |
||
) | [virtual] |
Implements XrdSfsFileSystem.
Reimplemented in XrdTokenAuthzOfs.
References AOP_Stat, AUTHORIZE, Emsg(), EPNAME, Finder, fsError(), XrdOucErrInfo::getErrUser(), XrdCmsClient::isRemote(), XrdCmsClient::Locate(), SFS_O_NOWAIT, SFS_O_RDONLY, SFS_O_STAT, SFS_OK, XrdOss::Stat(), stat(), tident, XRDOSS_resonly, and XTRACE.
const char * XrdOfs::theRole | ( | int | opts | ) | [private] |
References isManager, isPeer, isProxy, and isServer.
Referenced by Configure().
int XrdOfs::truncate | ( | const char * | Name, |
XrdSfsFileOffset | fileOffset, | ||
XrdOucErrInfo & | out_error, | ||
const XrdSecEntity * | client = 0 , |
||
const char * | opaque = 0 |
||
) | [virtual] |
Implements XrdSfsFileSystem.
References AOP_Update, AUTHORIZE, XrdOfs::fwdOpt::Cmd, Emsg(), XrdOfsEvs::Enabled(), EPNAME, evsObject, Finder, Forward(), fsError(), fwdTRUNC, XrdOucErrInfo::getErrUser(), XrdCmsClient::isRemote(), XrdCmsClient::Locate(), XrdOfsEvs::Notify(), SFS_O_RDWR, SFS_OK, tident, XrdOfsEvs::Trunc, XrdOss::Truncate(), and XTRACE.
void XrdOfs::Unpersist | ( | XrdOfsHandle * | hP, |
int | xcev = 1 |
||
) | [protected] |
References XrdOfsStats::Add(), Balancer, close, XrdOfsEvs::Closew, XrdOfsStats::Data, XrdOfsPoscq::Del(), XrdSysError::Emsg(), XrdOfsEvs::Enabled(), EPNAME, evsObject, FTRACE, XrdOfsHandle::Name(), XrdOfsEvs::Notify(), XrdOfsStats::StatsData::numUnpsist, OfsEroute, XrdOfsHandle::PoscGet(), poscQ, XrdOfsHandle::PoscUsr(), XrdCmsClient::Removed(), XrdOfsEvs::Rm, tident, and XrdOss::Unlink().
Referenced by XrdOfsFile::close(), ConfigPosc(), and Emsg().
char * XrdOfs::WaitTime | ( | int | stime, |
char * | buff, | ||
int | blen | ||
) | [protected] |
int XrdOfs::xalib | ( | XrdOucStream & | Config, |
XrdSysError & | Eroute | ||
) | [private] |
References AuthLib, AuthParm, XrdSysError::Emsg(), XrdOucStream::GetRest(), and XrdOucStream::GetWord().
Referenced by ConfigXeq().
int XrdOfs::xforward | ( | XrdOucStream & | Config, |
XrdSysError & | Eroute | ||
) | [private] |
References XrdOfs::fwdOpt::Cmd, XrdSysError::Emsg(), Forwarding, fwdCHMOD, fwdMKDIR, fwdMKPATH, fwdMV, fwdRM, fwdRMDIR, fwdTRUNC, XrdOucStream::GetWord(), XrdOfs::fwdOpt::Host, index(), Options, XrdOfs::fwdOpt::Port, XrdSysError::Say(), and strlcpy().
Referenced by ConfigXeq().
int XrdOfs::xmaxd | ( | XrdOucStream & | Config, |
XrdSysError & | Eroute | ||
) | [private] |
References XrdOuca2x::a2i(), XrdSysError::Emsg(), XrdOucStream::GetWord(), and MaxDelay.
Referenced by ConfigXeq().
int XrdOfs::xnmsg | ( | XrdOucStream & | Config, |
XrdSysError & | Eroute | ||
) | [private] |
References XrdOfsEvs::Chmod, XrdOfsEvs::Closer, XrdOfsEvs::Closew, XrdOfsEvs::Create, XrdSysError::Emsg(), XrdOfsEvs::Fwrite, XrdOucStream::GetRest(), XrdOucStream::GetWord(), XrdOfsEvs::Mkdir, XrdOfsEvs::Mv, XrdOfsEvs::Openr, XrdOfsEvs::Openw, XrdOfsEvs::Parse(), XrdOfsEvs::Rm, XrdOfsEvs::Rmdir, XrdSysError::Say(), XrdOucStream::SetEnv(), and XrdOfsEvs::Trunc.
Referenced by ConfigXeq().
int XrdOfs::xnot | ( | XrdOucStream & | Config, |
XrdSysError & | Eroute | ||
) | [private] |
References XrdOuca2x::a2i(), XrdOfsEvs::All, XrdOfsEvs::Chmod, XrdOfsEvs::Close, XrdOfsEvs::Closer, XrdOfsEvs::Closew, XrdOfsEvs::Create, XrdSysError::Emsg(), evsObject, XrdOfsEvs::Fwrite, XrdOucStream::GetRest(), XrdOucStream::GetWord(), XrdOfsEvs::Mkdir, XrdOfsEvs::Mv, XrdOfsEvs::None, XrdOfsEvs::Open, XrdOfsEvs::Openr, XrdOfsEvs::Openw, XrdOucStream::RetToken(), XrdOfsEvs::Rm, XrdOfsEvs::Rmdir, XrdSysError::Say(), and XrdOfsEvs::Trunc.
Referenced by ConfigXeq().
int XrdOfs::xolib | ( | XrdOucStream & | Config, |
XrdSysError & | Eroute | ||
) | [private] |
References XrdSysError::Emsg(), XrdOucStream::GetRest(), XrdOucStream::GetWord(), and OssLib.
Referenced by ConfigXeq().
int XrdOfs::xpers | ( | XrdOucStream & | Config, |
XrdSysError & | Eroute | ||
) | [private] |
References XrdOuca2x::a2tm(), XrdSysError::Emsg(), XrdOucStream::GetWord(), poscAuto, poscHold, poscLog, and XrdSysError::Say().
Referenced by ConfigXeq().
int XrdOfs::xred | ( | XrdOucStream & | Config, |
XrdSysError & | Eroute | ||
) | [private] |
References XrdOucUtils::doIf(), XrdOucStream::GetWord(), XrdOucUtils::InstName(), isManager, isProxy, isServer, Options, XrdOucStream::RetToken(), and XrdSysError::Say().
Referenced by ConfigXeq().
int XrdOfs::xrole | ( | XrdOucStream & | Config, |
XrdSysError & | Eroute | ||
) | [private] |
References XrdOucUtils::doIf(), XrdSysError::Emsg(), XrdOucStream::GetWord(), haveRole, XrdOucUtils::InstName(), isManager, isMeta, isPeer, isProxy, isServer, isSuper, myRole, and Options.
Referenced by ConfigXeq().
int XrdOfs::xtrace | ( | XrdOucStream & | Config, |
XrdSysError & | Eroute | ||
) | [private] |
References XrdSysError::Emsg(), XrdOucStream::GetWord(), XrdSysError::Say(), TRACE_aio, TRACE_ALL, TRACE_chmod, TRACE_close, TRACE_closedir, TRACE_debug, TRACE_delay, TRACE_dir, TRACE_exists, TRACE_fsctl, TRACE_getstats, TRACE_IO, TRACE_mkdir, TRACE_MOST, TRACE_open, TRACE_opendir, TRACE_qscan, TRACE_read, TRACE_readdir, TRACE_redirect, TRACE_remove, TRACE_rename, TRACE_sync, TRACE_truncate, TRACE_write, and XrdOucTrace::What.
Referenced by ConfigXeq().
friend class XrdOfsDirectory [friend] |
Referenced by newDir().
friend class XrdOfsFile [friend] |
Referenced by newFile().
char* XrdOfs::AuthLib [private] |
Referenced by Config_Display(), setupAuth(), and xalib().
XrdAccAuthorize* XrdOfs::Authorization [private] |
Referenced by fsctl(), setupAuth(), and XrdOfs().
char* XrdOfs::AuthParm [private] |
Referenced by setupAuth(), and xalib().
XrdCmsClient* XrdOfs::Balancer [private] |
Referenced by XrdOfsFile::close(), ConfigRedir(), Configure(), XrdOfsFile::open(), remove(), rename(), Unpersist(), and XrdOfs().
char* XrdOfs::ConfigFN |
Referenced by Config_Display(), ConfigRedir(), Configure(), setupAuth(), XrdOfs(), XrdSfsGetDefaultFileSystem(), and XrdSfsGetFileSystem().
XrdOfsHandle * XrdOfs::dummyHandle [static, private] |
Referenced by XrdOfs().
XrdOfsEvr XrdOfs::evrObject [protected] |
Referenced by Configure(), and XrdOfsFile::open().
XrdOfsEvs* XrdOfs::evsObject [private] |
XrdCmsClient* XrdOfs::Finder [protected] |
Referenced by chmod(), ConfigRedir(), exists(), Forward(), fsctl(), mkdir(), XrdOfsFile::open(), prepare(), remove(), rename(), stat(), truncate(), and XrdOfs().
struct fwdOpt XrdOfs::fwdCHMOD |
Referenced by chmod(), Config_Display(), Configure(), and xforward().
struct fwdOpt XrdOfs::fwdMKDIR |
Referenced by Config_Display(), Configure(), mkdir(), and xforward().
struct fwdOpt XrdOfs::fwdMKPATH |
Referenced by Configure(), mkdir(), and xforward().
struct fwdOpt XrdOfs::fwdMV |
Referenced by Config_Display(), Configure(), rename(), and xforward().
struct fwdOpt XrdOfs::fwdRM |
Referenced by Config_Display(), Configure(), remove(), and xforward().
struct fwdOpt XrdOfs::fwdRMDIR |
Referenced by Config_Display(), Configure(), remove(), and xforward().
struct fwdOpt XrdOfs::fwdTRUNC |
Referenced by Config_Display(), Configure(), truncate(), and xforward().
char* XrdOfs::HostName |
Referenced by XrdOfs().
char* XrdOfs::HostPref |
Referenced by XrdOfs().
char* XrdOfs::locResp [private] |
int XrdOfs::locRlen [private] |
int XrdOfs::MaxDelay = 60 [static] |
Referenced by Config_Display(), Stall(), and xmaxd().
int XrdOfs::myPort |
Referenced by ConfigRedir(), Configure(), and XrdOfs().
char* XrdOfs::myRole [private] |
Referenced by Config_Display(), Configure(), XrdOfs(), and xrole().
XrdSysMutex XrdOfs::ocMutex [private] |
Referenced by XrdOfsFile::close(), and XrdOfsFile::open().
int XrdOfs::Options |
Referenced by Config_Display(), ConfigRedir(), Configure(), ConfigXeq(), xforward(), xred(), and xrole().
int XrdOfs::OSSDelay = 30 [static] |
Referenced by Emsg().
char* XrdOfs::OssLib |
Referenced by Config_Display(), Configure(), and xolib().
int XrdOfs::poscAuto [private] |
Referenced by Config_Display(), Configure(), XrdOfsFile::open(), xpers(), and XrdOfs().
int XrdOfs::poscHold [private] |
Referenced by XrdOfsFile::close(), Config_Display(), ConfigPosc(), xpers(), and XrdOfs().
char* XrdOfs::poscLog [private] |
Referenced by Config_Display(), ConfigPosc(), xpers(), and XrdOfs().
XrdOfsPoscq* XrdOfs::poscQ [private] |
Referenced by XrdOfsFile::close(), Config_Display(), ConfigPosc(), XrdOfsFile::open(), Unpersist(), and XrdOfs().