|
XRootD
|
#include <XrdFrmConfig.hh>
Collaboration diagram for XrdFrmConfig:Classes | |
| struct | Cmd |
| struct | Policy |
| struct | VPInfo |
Public Types | |
| enum | PPVar { PP_atime =0 , PP_ctime , PP_fname , PP_fsize , PP_fspace , PP_mtime , PP_pfn , PP_sname , PP_tspace , PP_usage } |
| enum | SubSys { ssAdmin , ssMigr , ssPstg , ssPurg , ssXfr } |
Public Member Functions | |
| XrdFrmConfig (SubSys ss, const char *vopts, const char *uinfo) | |
| ~XrdFrmConfig () | |
| int | Configure (int argc, char **argv, int(*ppf)()) |
| int | LocalPath (const char *oldp, char *newp, int newpsz) |
| int | LogicalPath (const char *oldp, char *newp, int newpsz) |
| int | NeedsCTA (const char *Lfn) |
| unsigned long long | PathOpts (const char *Lfn) |
| int | RemotePath (const char *oldp, char *newp, int newpsz) |
| XrdOucTList * | Space (const char *Name, const char *Path=0) |
| int | Stat (const char *xLfn, const char *xPfn, struct stat *buff) |
Public Attributes | |
| int | AdminMode |
| char * | AdminPath |
| XrdCks * | CksMan |
| long long | cmdFree |
| int | cmdHold |
| XrdNetCmsNotify * | cmsPath |
| Policy | dfltPolicy |
| int | dirHold |
| int | FailHold |
| int | Fix |
| int | hasCache |
| int | haveCMS |
| int | IdleHold |
| int | isAgent |
| int | isOTO |
| const char * | lockFN |
| char * | MSSCmd |
| XrdOucProg * | MSSProg |
| const char * | myFrmid |
| const char * | myFrmID |
| gid_t | myGid |
| const char * | myInst |
| char * | myInstance |
| const char * | myName |
| const char * | myProg |
| const char * | mySite |
| uid_t | myUid |
| int | nextArg |
| int | nonXA |
| int | numcArg |
| XrdOfsConfigPI * | OfsCfg |
| XrdOss * | ossFS |
| VPInfo * | pathList |
| char * | PidPath |
| char * | pProg |
| char | pVec [pVecMax] |
| int | pVecNum |
| char * | QPath |
| int | runNew |
| int | runOld |
| XrdOucTList * | spacList |
| char * | StopPurge |
| int | Test |
| XrdOucName2Name * | the_N2N |
| int | TrackDC |
| char ** | vectArg |
| int | Verbose |
| struct XrdFrmConfig::VPInfo * | VPList |
| int | WaitMigr |
| int | WaitPurge |
| int | WaitQChk |
| struct XrdFrmConfig::Cmd | xfrCmd [4] |
| char * | xfrFdir |
| int | xfrFdln |
| int | xfrIN |
| int | xfrMax |
| int | xfrMaxIn |
| int | xfrMaxOt |
| int | xfrOUT |
Static Public Attributes | |
| static const int | cmdAlloc = 0x0001 |
| static const int | cmdMDP = 0x0002 |
| static const int | cmdRME = 0x0010 |
| static const int | cmdStats = 0x0004 |
| static const int | cmdXPD = 0x0008 |
| static const int | pVecMax =8 |
Definition at line 53 of file XrdFrmConfig.hh.
| struct XrdFrmConfig::Cmd |
Definition at line 72 of file XrdFrmConfig.hh.
Collaboration diagram for XrdFrmConfig::Cmd:| Class Members | ||
|---|---|---|
| const char * | Desc | |
| int | Opts | |
| char * | theCmd | |
| XrdOucMsubs * | theVec | |
| int | TLimit | |
| enum XrdFrmConfig::PPVar |
| Enumerator | |
|---|---|
| PP_atime | |
| PP_ctime | |
| PP_fname | |
| PP_fsize | |
| PP_fspace | |
| PP_mtime | |
| PP_pfn | |
| PP_sname | |
| PP_tspace | |
| PP_usage | |
Definition at line 155 of file XrdFrmConfig.hh.
| enum XrdFrmConfig::SubSys |
| XrdFrmConfig::XrdFrmConfig | ( | SubSys | ss, |
| const char * | vopts, | ||
| const char * | uinfo | ||
| ) |
Definition at line 136 of file XrdFrmConfig.cc.
References AdminMode, AdminPath, CksMan, cmdFree, cmdHold, cmsPath, XrdFrmConfig::Cmd::Desc, dirHold, FailHold, Fix, haveCMS, IdleHold, XrdOucUtils::InstName(), isAgent, isOTO, lockFN, MSSCmd, myFrmid, myFrmID, myGid, myInst, mySite, myUid, nonXA, OfsCfg, pathList, pProg, pVecNum, QPath, runNew, runOld, Say, spacList, ssAdmin, ssPurg, ssXfr, Test, the_N2N, Verbose, WaitMigr, WaitPurge, WaitQChk, xfrCmd, xfrFdir, xfrFdln, xfrIN, xfrMax, xfrMaxIn, xfrMaxOt, xfrOUT, and XrdVERSIONINFODEF().
Here is the call graph for this function:
|
inline |
Definition at line 178 of file XrdFrmConfig.hh.
| int XrdFrmConfig::Configure | ( | int | argc, |
| char ** | argv, | ||
| int(*)() | ppf | ||
| ) |
Definition at line 232 of file XrdFrmConfig.cc.
References XrdOuca2x::a2i(), XrdOuca2x::a2tm(), XrdFrmConfigSE::BLen, XrdFrmConfigSE::Buff, CksMan, close, XrdOucEnv::Export(), Fix, XrdOucUtils::InstName(), isAgent, isOTO, XrdOfsConfigPI::Load(), XrdOucUtils::makeHome(), myFrmid, myFrmID, myInst, myInstance, myName, myProg, XrdFrmConfigSE::mySem, mySite, XrdNetAddrInfo::Name(), nextArg, numcArg, OfsCfg, optind, optopt, ossFS, XrdOucUtils::PidFile(), XrdOfsConfigPI::Plugin(), Say, XrdOucSiteName::Set(), ssAdmin, ssPurg, ssXfr, Stat, stat, XrdOss::StatPF(), XrdOucUtils::subLogfn(), Test, XrdOfsConfigPI::theAtrLib, XrdOfsConfigPI::theCksLib, XrdOfsConfigPI::theOssLib, XrdFrc::Trace, TRACE_ALL, XrdOucUtils::Undercover(), vectArg, Verbose, XrdSysSemaphore::Wait(), WaitPurge, XrdOucTrace::What, write, XrdBANNER, and XrdOssGetSS().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdFrmConfig::LocalPath | ( | const char * | oldp, |
| char * | newp, | ||
| int | newpsz | ||
| ) |
Definition at line 478 of file XrdFrmConfig.cc.
References XrdOucName2Name::lfn2pfn(), and Say.
Referenced by XrdFrmXfrQueue::Add(), and XrdFrmAdmin::Chksum().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdFrmConfig::LogicalPath | ( | const char * | oldp, |
| char * | newp, | ||
| int | newpsz | ||
| ) |
Definition at line 495 of file XrdFrmConfig.cc.
References XrdOucName2Name::pfn2lfn(), and Say.
Referenced by XrdFrmMigrate::Queue().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdFrmConfig::NeedsCTA | ( | const char * | Lfn | ) |
Definition at line 512 of file XrdFrmConfig.cc.
References XrdOucPListAnchor::Find(), XRDEXP_MIGPRG, and XrdOssRPList.
Here is the call graph for this function:| unsigned long long XrdFrmConfig::PathOpts | ( | const char * | Lfn | ) |
Definition at line 523 of file XrdFrmConfig.cc.
References XrdOucPListAnchor::Find(), and XrdOssRPList.
Here is the call graph for this function:| int XrdFrmConfig::RemotePath | ( | const char * | oldp, |
| char * | newp, | ||
| int | newpsz | ||
| ) |
Definition at line 534 of file XrdFrmConfig.cc.
References XrdOucName2Name::lfn2rfn(), and Say.
Here is the call graph for this function:| XrdOucTList * XrdFrmConfig::Space | ( | const char * | Name, |
| const char * | Path = 0 |
||
| ) |
Definition at line 551 of file XrdFrmConfig.cc.
References XrdFrmConfig::VPInfo::Dir, XrdFrmConfig::VPInfo::Name, XrdFrmConfig::VPInfo::Next, XrdOucTList::next, Path, XrdOucTList::text, and VPList.
| int XrdFrmConfig::Stat | ( | const char * | xLfn, |
| const char * | xPfn, | ||
| struct stat * | buff | ||
| ) |
Definition at line 588 of file XrdFrmConfig.cc.
References ossFS, XrdOss::Stat(), XrdOss::StatPF(), and XRDOSS_resonly.
Referenced by XrdFrmXfrQueue::Add().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdFrmConfig::AdminMode |
Definition at line 97 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), XrdFrmXfrDaemon::Init(), mainConfig(), XrdFrmXfrDaemon::Pong(), and XrdFrmXfrAgent::Start().
| char* XrdFrmConfig::AdminPath |
Definition at line 64 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), XrdFrmXfrQueue::Init(), and mainConfig().
| XrdCks* XrdFrmConfig::CksMan |
Definition at line 89 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), XrdFrmAdmin::Chksum(), and Configure().
|
static |
Definition at line 79 of file XrdFrmConfig.hh.
| long long XrdFrmConfig::cmdFree |
Definition at line 95 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and mainConfig().
| int XrdFrmConfig::cmdHold |
Definition at line 96 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and mainConfig().
|
static |
Definition at line 80 of file XrdFrmConfig.hh.
|
static |
Definition at line 83 of file XrdFrmConfig.hh.
|
static |
Definition at line 81 of file XrdFrmConfig.hh.
|
static |
Definition at line 82 of file XrdFrmConfig.hh.
| XrdNetCmsNotify* XrdFrmConfig::cmsPath |
Definition at line 92 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig().
| Policy XrdFrmConfig::dfltPolicy |
Definition at line 145 of file XrdFrmConfig.hh.
Referenced by mainConfig().
| int XrdFrmConfig::dirHold |
Definition at line 147 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and XrdFrmPurge::Display().
| int XrdFrmConfig::FailHold |
Definition at line 102 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and XrdFrmTransfer::checkFF().
| int XrdFrmConfig::Fix |
Definition at line 109 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), Configure(), mainConfig(), and XrdFrmFileset::Screen().
| int XrdFrmConfig::hasCache |
Definition at line 116 of file XrdFrmConfig.hh.
| int XrdFrmConfig::haveCMS |
Definition at line 107 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig().
| int XrdFrmConfig::IdleHold |
Definition at line 103 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and XrdFrmXfrDaemon::Init().
| int XrdFrmConfig::isAgent |
Definition at line 98 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), Configure(), main(), and mainConfig().
| int XrdFrmConfig::isOTO |
Definition at line 108 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), Configure(), main(), and mainConfig().
| const char* XrdFrmConfig::lockFN |
Definition at line 63 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig().
| char* XrdFrmConfig::MSSCmd |
Definition at line 69 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig().
| XrdOucProg* XrdFrmConfig::MSSProg |
Definition at line 70 of file XrdFrmConfig.hh.
| const char* XrdFrmConfig::myFrmid |
Definition at line 61 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and Configure().
| const char* XrdFrmConfig::myFrmID |
Definition at line 62 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and Configure().
| gid_t XrdFrmConfig::myGid |
Definition at line 94 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig().
| const char* XrdFrmConfig::myInst |
Definition at line 59 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and Configure().
| char* XrdFrmConfig::myInstance |
Definition at line 67 of file XrdFrmConfig.hh.
Referenced by Configure().
| const char* XrdFrmConfig::myName |
Definition at line 58 of file XrdFrmConfig.hh.
Referenced by Configure().
| const char* XrdFrmConfig::myProg |
Definition at line 57 of file XrdFrmConfig.hh.
Referenced by Configure(), XrdFrmXfrDaemon::Init(), and XrdFrmMigrate::Queue().
| const char* XrdFrmConfig::mySite |
Definition at line 60 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and Configure().
| uid_t XrdFrmConfig::myUid |
Definition at line 93 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig().
| int XrdFrmConfig::nextArg |
Definition at line 118 of file XrdFrmConfig.hh.
Referenced by Configure(), and main().
| int XrdFrmConfig::nonXA |
Definition at line 115 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig().
| int XrdFrmConfig::numcArg |
Definition at line 119 of file XrdFrmConfig.hh.
Referenced by Configure().
| XrdOfsConfigPI* XrdFrmConfig::OfsCfg |
Definition at line 88 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and Configure().
| XrdOss* XrdFrmConfig::ossFS |
Definition at line 91 of file XrdFrmConfig.hh.
Referenced by Configure(), XrdFrmPurge::Init(), XrdFrmPurgeDir::isEmpty(), XrdFrmAdmin::Mv(), XrdFrmAdmin::Reloc(), and Stat().
| VPInfo* XrdFrmConfig::pathList |
Definition at line 130 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), XrdFrmMigrate::Display(), XrdFrmPurge::Display(), and XrdFrmXfrDaemon::Init().
| char* XrdFrmConfig::PidPath |
Definition at line 66 of file XrdFrmConfig.hh.
| char* XrdFrmConfig::pProg |
Definition at line 151 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and XrdFrmPurge::Init().
| char XrdFrmConfig::pVec[pVecMax] |
Definition at line 150 of file XrdFrmConfig.hh.
Referenced by XrdFrmPurge::Init().
|
static |
Definition at line 149 of file XrdFrmConfig.hh.
| int XrdFrmConfig::pVecNum |
Definition at line 148 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and XrdFrmPurge::Init().
| char* XrdFrmConfig::QPath |
Definition at line 65 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), XrdFrmTransfer::Init(), XrdFrmXfrDaemon::Init(), XrdFrmXfrDaemon::Pong(), and XrdFrmXfrAgent::Start().
| int XrdFrmConfig::runNew |
Definition at line 114 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), XrdFrmFileset::Screen(), and XrdFrmFileset::setCpyTime().
| int XrdFrmConfig::runOld |
Definition at line 113 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig().
| XrdOucTList* XrdFrmConfig::spacList |
Definition at line 131 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and mainConfig().
| char* XrdFrmConfig::StopPurge |
Definition at line 68 of file XrdFrmConfig.hh.
Referenced by main().
| int XrdFrmConfig::Test |
Definition at line 110 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), XrdFrmTransfer::checkFF(), Configure(), XrdFrmPurgeDir::isEmpty(), and mainConfig().
| XrdOucName2Name* XrdFrmConfig::the_N2N |
Definition at line 90 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig().
| int XrdFrmConfig::TrackDC |
Definition at line 111 of file XrdFrmConfig.hh.
| char** XrdFrmConfig::vectArg |
Definition at line 117 of file XrdFrmConfig.hh.
Referenced by Configure().
| int XrdFrmConfig::Verbose |
Definition at line 112 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), XrdFrmXfrQueue::Add(), Configure(), XrdFrmPurgeDir::isEmpty(), main(), and XrdFrmTransfer::Start().
| struct XrdFrmConfig::VPInfo * XrdFrmConfig::VPList |
Referenced by XrdFrmPurge::Init(), mainConfig(), and Space().
| int XrdFrmConfig::WaitMigr |
Definition at line 106 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), XrdFrmXfrDaemon::Init(), and XrdFrmMigrate::Migrate().
| int XrdFrmConfig::WaitPurge |
Definition at line 105 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), Configure(), and main().
| int XrdFrmConfig::WaitQChk |
Definition at line 104 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and XrdFrmXfrDaemon::Start().
| struct XrdFrmConfig::Cmd XrdFrmConfig::xfrCmd[4] |
Referenced by XrdFrmConfig(), and XrdFrmTransfer::XrdFrmTransfer().
| char* XrdFrmConfig::xfrFdir |
Definition at line 152 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig().
| int XrdFrmConfig::xfrFdln |
Definition at line 153 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig().
| int XrdFrmConfig::xfrIN |
Definition at line 85 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig().
| int XrdFrmConfig::xfrMax |
Definition at line 99 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), XrdFrmTransfer::Init(), and XrdFrmXfrQueue::Init().
| int XrdFrmConfig::xfrMaxIn |
Definition at line 100 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and XrdFrmTransfer::Init().
| int XrdFrmConfig::xfrMaxOt |
Definition at line 101 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and XrdFrmTransfer::Init().
| int XrdFrmConfig::xfrOUT |
Definition at line 86 of file XrdFrmConfig.hh.
Referenced by XrdFrmConfig(), and XrdFrmXfrDaemon::Init().