|
xrootd
|
#include <XrdPss.hh>


Public Member Functions | |
| virtual XrdOssDF * | newDir (const char *tident) |
| virtual XrdOssDF * | newFile (const char *tident) |
| int | Chmod (const char *, mode_t mode, XrdOucEnv *eP=0) |
| virtual int | Create (const char *, const char *, mode_t, XrdOucEnv &, int opts=0) |
| int | Init (XrdSysLogger *, const char *) |
| int | Lfn2Pfn (const char *Path, char *buff, int blen) |
| const char * | Lfn2Pfn (const char *Path, char *buff, int blen, int &rc) |
| int | Mkdir (const char *, mode_t mode, int mkpath=0, XrdOucEnv *eP=0) |
| int | Remdir (const char *, int Opts=0, XrdOucEnv *eP=0) |
| int | Rename (const char *, const char *, XrdOucEnv *eP1=0, XrdOucEnv *eP2=0) |
| int | Stat (const char *, struct stat *, int opts=0, XrdOucEnv *eP=0) |
| int | Truncate (const char *, unsigned long long, XrdOucEnv *eP=0) |
| int | Unlink (const char *, int Opts=0, XrdOucEnv *eP=0) |
| XrdPssSys () | |
| virtual | ~XrdPssSys () |
Public Member Functions inherited from XrdOss | |
| virtual int | Reloc (const char *, const char *, const char *, const char *x=0) |
| virtual int | StatFS (const char *path, char *buff, int &blen, XrdOucEnv *eP=0) |
| virtual int | StatLS (XrdOucEnv &env, const char *cgrp, char *buff, int &blen) |
| virtual int | StatXA (const char *path, char *buff, int &blen, XrdOucEnv *eP=0) |
| virtual int | StatXP (const char *path, unsigned long long &attr, XrdOucEnv *eP=0) |
| virtual int | Stats (char *bp, int bl) |
| virtual int | StatVS (XrdOssVSInfo *sP, const char *sname=0, int updt=0) |
| XrdOss () | |
| virtual | ~XrdOss () |
Static Public Member Functions | |
| static char * | P2URL (int &retc, char *pbuff, int pblen, const char *path, int Split=0, const char *Cgi=0, int CgiLn=0, const char *tIdent=0, int doN2N=1) |
| static int | T2UID (const char *Ident) |
Static Public Attributes | |
| static const char * | ConfigFN |
| static const char * | myHost |
| static const char * | myName |
| static uid_t | myUid = geteuid() |
| static gid_t | myGid = getegid() |
| static XrdOucPListAnchor | XPList |
| static XrdOucTList * | ManList = 0 |
| static const char * | urlPlain = 0 |
| static int | urlPlen = 0 |
| static int | hdrLen = 0 |
| static const char * | hdrData = 0 |
| static const char * | urlRdr = 0 |
| static int | Workers = 16 |
| static int | Trace |
| static char | allChmod = 0 |
| static char | allMkdir = 0 |
| static char | allMv = 0 |
| static char | allRmdir = 0 |
| static char | allRm = 0 |
| static char | allTrunc = 0 |
| static char | cfgDone = 0 |
Private Member Functions | |
| int | buildHdr () |
| int | Configure (const char *) |
| int | ConfigProc (const char *ConfigFN) |
| int | ConfigXeq (char *, XrdOucStream &) |
| int | ConfigN2N () |
| int | getCache () |
| int | xcach (XrdSysError *Eroute, XrdOucStream &Config) |
| int | xcacl (XrdSysError *Eroute, XrdOucStream &Config) |
| char * | xcapr (XrdSysError *Eroute, XrdOucStream &Config, char *pBuff) |
| int | xconf (XrdSysError *Eroute, XrdOucStream &Config) |
| int | xdef (XrdSysError *Eroute, XrdOucStream &Config) |
| int | xexp (XrdSysError *Eroute, XrdOucStream &Config) |
| int | xorig (XrdSysError *errp, XrdOucStream &Config) |
| int | xsopt (XrdSysError *Eroute, XrdOucStream &Config) |
| int | xtrac (XrdSysError *Eroute, XrdOucStream &Config) |
| int | xnml (XrdSysError *Eroute, XrdOucStream &Config) |
Private Attributes | |
| char * | LocalRoot |
| char * | N2NLib |
| char * | N2NParms |
| XrdOucName2Name * | theN2N |
| unsigned long long | DirFlags |
| char * | cPath |
| char * | cParm |
| XrdVersionInfo * | myVersion |
| int | TraceLvl |
| XrdPssSys::XrdPssSys | ( | ) |
|
inlinevirtual |
|
private |
References XrdProxy::eDest, XrdSysError::Emsg(), XrdProxy::maxHLen, XrdOucTList::next, XrdOucTList::text, and XrdOucTList::val.
|
virtual |
Implements XrdOss.
|
private |
References XrdProxy::eDest, and XrdOucN2NLoader::Load().
|
private |
|
private |
References XrdProxy::eDest, XrdSysError::Emsg(), XrdOucEnv::Export(), XrdOucUtils::InstName(), XrdProxy::maxHLen, XrdSysThread::Run(), XrdPosixXrootd::setDebug(), XrdPosixXrootd::setEnv(), XrdPssConfigFfs(), and XrdProxy::Xroot.
Referenced by Init().
|
private |
References XrdOucStream::Echo(), XrdProxy::eDest, XrdSysError::Emsg(), XrdOucStream::GetWord(), XrdSysError::Say(), strlcpy(), TS_String, and TS_Xeq.
|
virtual |
Implements XrdOss.
|
private |
|
virtual |
Implements XrdOss.
References Configure(), eDest, XrdSysError::logger(), XrdSysError::Say(), and XrdVSTRING.
Referenced by XrdOssGetStorageSystem().
|
virtual |
Reimplemented from XrdOss.
References XrdOucName2Name::lfn2pfn(), and theN2N.
|
virtual |
Reimplemented from XrdOss.
References XrdOucName2Name::lfn2pfn(), and theN2N.
|
virtual |
Implements XrdOss.
References isREADONLY, XrdPosixXrootd::Mkdir(), P2URL(), XrdProxy::PBsz, and XrdOssOK.
|
static |
References hdrData, XrdOucName2Name::lfn2pfn(), theN2N, urlPlain, urlPlen, and XrdProxy::XrdProxySS.
Referenced by XrdPssCks::Get(), Mkdir(), XrdPssFile::Open(), XrdPssDir::Opendir(), Remdir(), Rename(), Stat(), Truncate(), and Unlink().
|
virtual |
Implements XrdOss.
References allRm, allRmdir, cfgDone, isREADONLY, myUid, P2URL(), XrdProxy::PBsz, XrdPosixXrootd::Rmdir(), XrdFfsPosix_rmdirall(), XRDOSS_Online, and XrdOssOK.
|
virtual |
Implements XrdOss.
References allMv, cfgDone, isREADONLY, myUid, P2URL(), XrdProxy::PBsz, XrdPosixXrootd::Rename(), urlPlain, XrdFfsPosix_renameall(), and XrdOssOK.
|
virtual |
Implements XrdOss.
References isNOSTAGE, P2URL(), XrdProxy::PBsz, XrdPosixXrootd::Stat(), XRDOSS_resonly, and XrdOssOK.
|
static |
References myUid.
Referenced by XrdPssDir::Opendir().
|
virtual |
Implements XrdOss.
References isREADONLY, P2URL(), XrdProxy::PBsz, XrdPosixXrootd::Truncate(), and XrdOssOK.
|
virtual |
Implements XrdOss.
References allRm, cfgDone, isREADONLY, myUid, P2URL(), XrdProxy::PBsz, XrdPosixXrootd::Unlink(), XrdFfsPosix_unlinkall(), XRDOSS_Online, and XrdOssOK.
|
private |
References XrdOuca2x::a2sz(), XrdSysError::Emsg(), XrdOucEnv::Export(), and XrdOucStream::GetWord().
|
private |
References XrdSysError::Emsg(), XrdOucStream::GetRest(), and XrdOucStream::GetWord().
|
private |
References XrdOuca2x::a2i(), XrdOuca2x::a2sz(), XrdSysError::Emsg(), and XrdOucStream::GetWord().
|
private |
References XrdSysError::Emsg(), XrdOucStream::GetWord(), and XrdSysError::Say().
|
private |
References XrdOucExport::ParseDefs().
|
private |
References XrdOucExport::ParsePath().
|
private |
References XrdSysError::Emsg(), XrdOucStream::GetRest(), and XrdOucStream::GetWord().
|
private |
|
private |
References XrdSysError::Emsg(), XrdOucStream::GetWord(), XrdSysError::Say(), XrdPosixXrootd::setEnv(), and strlcpy().
|
private |
References XrdSysError::Emsg(), XrdOucStream::GetWord(), XrdSysError::Say(), and XrdPosixXrootd::setDebug().
|
static |
|
static |
|
static |
Referenced by Rename().
|
static |
Referenced by Remdir().
|
static |
|
static |
Referenced by XrdPssDir::Opendir(), Remdir(), Rename(), Unlink(), and XrdPssConfigFfs().
|
static |
|
private |
|
private |
|
private |
|
static |
Referenced by P2URL().
|
static |
|
private |
|
static |
|
static |
|
static |
|
static |
|
private |
|
private |
|
private |
|
private |
|
static |
|
private |
|
static |
Referenced by P2URL().
|
static |
Referenced by XrdPssConfigFfs().
|
static |
Referenced by XrdPssConfigFfs().
|
static |
Referenced by XrdPssFile::Open().
1.8.3.1