xrootd
|
#include <XrdOssCsi.hh>
Public Member Functions | |
virtual XrdOssDF * | newDir (const char *tident) |
virtual XrdOssDF * | newFile (const char *tident) |
virtual int | Init (XrdSysLogger *lp, const char *cfn) |
virtual int | Init (XrdSysLogger *lp, const char *cfn, XrdOucEnv *envP) |
int | Init (XrdSysLogger *, const char *, const char *, XrdOucEnv *) |
virtual uint64_t | Features () |
virtual int | Unlink (const char *path, int Opts=0, XrdOucEnv *eP=0) |
virtual int | Rename (const char *oldname, const char *newname, XrdOucEnv *old_env=0, XrdOucEnv *new_env=0) |
virtual int | Truncate (const char *path, unsigned long long size, XrdOucEnv *envP=0) |
virtual int | Reloc (const char *tident, const char *path, const char *cgName, const char *anchor=0) |
virtual int | Mkdir (const char *path, mode_t mode, int mkpath=0, XrdOucEnv *envP=0) |
virtual int | Create (const char *tident, const char *path, mode_t access_mode, XrdOucEnv &env, int Opts=0) |
virtual int | Chmod (const char *path, mode_t mode, XrdOucEnv *envP=0) |
virtual int | Remdir (const char *path, int Opts=0, XrdOucEnv *eP=0) |
virtual int | Stat (const char *path, struct stat *buff, int opts=0, XrdOucEnv *EnvP=0) |
virtual int | StatPF (const char *path, struct stat *buff, int opts) |
virtual int | StatPF (const char *path, struct stat *buff) |
virtual int | StatXA (const char *path, char *buff, int &blen, XrdOucEnv *envP=0) |
XrdOssCsi (XrdOss *successor) | |
virtual | ~XrdOssCsi () |
Public Member Functions inherited from XrdOssHandler | |
virtual void | Connect (XrdOucEnv &env) |
virtual void | Disc (XrdOucEnv &env) |
virtual void | EnvInfo (XrdOucEnv *envP) |
virtual int | FSctl (int cmd, int alen, const char *args, char **resp=0) |
virtual int | Stats (char *bp, int bl) |
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 | StatVS (XrdOssVSInfo *sP, const char *sname=0, int updt=0) |
virtual int | StatXP (const char *path, unsigned long long &attr, XrdOucEnv *eP=0) |
virtual int | Lfn2Pfn (const char *Path, char *buff, int blen) |
virtual const char * | Lfn2Pfn (const char *Path, char *buff, int blen, int &rc) |
XrdOssHandler (XrdOss *successor) | |
virtual | ~XrdOssHandler () |
Public Member Functions inherited from XrdOss | |
XrdOss () | |
Constructor and Destructor. | |
virtual | ~XrdOss () |
Static Public Member Functions | |
static std::unique_ptr< XrdOucEnv > | tagOpenEnv (const XrdOssCsiConfig &, XrdOucEnv &) |
Static Public Attributes | |
static XrdScheduler * | Sched_ |
Static Public Attributes inherited from XrdOss | |
static const int | PF_dInfo = 0x00000001 |
static const int | PF_dNums = 0x00000002 |
static const int | PF_isLFN = 0x00000004 |
static const int | PF_dStat = 0x00000008 |
static const int | PF_csVer = 0x00000001 |
verified file checksums present | |
static const int | PF_csVun = 0x00000002 |
unverified file checksums present | |
Private Attributes | |
XrdOssCsiConfig | config_ |
Additional Inherited Members | |
Protected Attributes inherited from XrdOssHandler | |
XrdOss * | successor_ |
|
inline |
|
inlinevirtual |
|
virtual |
Change file mode settings.
path | - Pointer to the path of the file in question. |
mode | - The new file mode setting. |
envP | - Pointer to environmental information. |
Reimplemented from XrdOssHandler.
|
virtual |
Create file.
tid | - Pointer to the trace identifier. |
path | - Pointer to the path of the file to create. |
mode | - The new file mode setting. |
env | - Reference to environmental information. |
opts | - Create options: XRDOSS_mkpath - create dir path if it does not exist. XRDOSS_new - the file must not already exist. oflags<<8 - open flags shifted 8 bits to the left/ |
Reimplemented from XrdOssHandler.
|
inlinevirtual |
Return storage system features.
Reimplemented from XrdOssHandler.
References XrdOss::Features(), XrdOssHandler::successor_, XRDOSS_HASFSCS, and XRDOSS_HASPGRW.
int XrdOssCsi::Init | ( | XrdSysLogger * | , |
const char * | , | ||
const char * | , | ||
XrdOucEnv * | |||
) |
|
inlinevirtual |
Initialize the storage system V1 (deprecated).
lp | - Pointer to the message logging object. |
cfn | - Pointer to the configuration file. |
Implements XrdOss.
References Init().
Referenced by Init().
|
inlinevirtual |
Initialize the storage system V2.
lp | - Pointer to the message logging object. |
cfn | - Pointer to the configuration file. |
envP | - Pointer to environmental information. |
Reimplemented from XrdOss.
References Init().
Referenced by Init().
|
virtual |
Create a directory.
path | - Pointer to the path of the directory to be created. |
mode | - The directory mode setting. |
mkpath | - When true the path is created if it does not exist. |
envP | - Pointer to environmental information. |
Reimplemented from XrdOssHandler.
|
virtual |
|
virtual |
|
virtual |
Relocate/Copy the file at ‘path’ to a new location.
tident | - -> trace identifier for this operation. |
path | - -> fully qualified name of the file to relocate. |
cgName | - -> target space name[:path] |
anchor | - Processing directions (see XrdOssReloc.cc example). |
Reimplemented from XrdOssHandler.
|
virtual |
Remove a directory.
path | - Pointer to the path of the directory to be removed. |
Opts | - The processing options: XRDOSS_Online - only remove online copy XRDOSS_isPFN - path is already translated. |
envP | - Pointer to environmental information. |
Reimplemented from XrdOssHandler.
|
virtual |
Rename a file or directory.
oPath | - Pointer to the path to be renamed. |
nPath | - Pointer to the path oPath is to have. |
oEnvP | - Environmental information for oPath. |
nEnvP | - Environmental information for nPath. |
Reimplemented from XrdOssHandler.
|
virtual |
Return state information on a file or directory.
path | - Pointer to the path in question. |
buff | - Pointer to the structure where info it to be returned. |
opts | - Options: XRDOSS_preop - this is a stat prior to open. XRDOSS_resonly - only look for resident files. XRDOSS_updtatm - update file access time. |
envP | - Pointer to environmental information. |
Reimplemented from XrdOssHandler.
|
inlinevirtual |
|
virtual |
Reimplemented from XrdOssHandler.
|
virtual |
Return logical extended attributes associated with a path.
path | - Path in whose information is wanted. |
buff | - Pointer to the buffer to hold the information. |
blen | - Length of the buffer. This is updated with the actual number of bytes placed in the buffer as in snprintf(). |
envP | - Pointer to environmental information. |
Reimplemented from XrdOssHandler.
|
static |
|
virtual |
Truncate a file.
path | - Pointer to the path of the file to be truncated. |
fsize | - The size that the file is to have. |
envP | - Pointer to environmental information. |
Reimplemented from XrdOssHandler.
|
virtual |
Remove a file.
path | - Pointer to the path of the file to be removed. |
Opts | - Options: XRDOSS_isMIG - this is a migratable path. XRDOSS_isPFN - do not apply name2name to path. XRDOSS_Online - remove only the online copy. |
envP | - Pointer to environmental information. |
Reimplemented from XrdOssHandler.
|
private |
|
static |
Referenced by XrdOssCsiFileAio::Init().