XrdCephOss Class Reference

#include <XrdCephOss.hh>

Inheritance diagram for XrdCephOss:
Inheritance graph
[legend]
Collaboration diagram for XrdCephOss:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XrdCephOss (const char *, XrdSysError &)
virtual ~XrdCephOss ()
int Configure (const char *, XrdSysError &)
virtual int Chmod (const char *, mode_t mode, XrdOucEnv *eP=0)
virtual int Create (const char *, const char *, mode_t, XrdOucEnv &, int opts=0)
virtual int Init (XrdSysLogger *, const char *)
virtual int Mkdir (const char *, mode_t mode, int mkpath=0, XrdOucEnv *eP=0)
virtual int Remdir (const char *, int Opts=0, XrdOucEnv *eP=0)
virtual int Rename (const char *, const char *, XrdOucEnv *eP1=0, XrdOucEnv *eP2=0)
virtual int Stat (const char *, struct stat *, int opts=0, XrdOucEnv *eP=0)
virtual int StatFS (const char *path, char *buff, int &blen, XrdOucEnv *eP=0)
virtual int StatVS (XrdOssVSInfo *sP, const char *sname=0, int updt=0)
virtual int Truncate (const char *, unsigned long long, XrdOucEnv *eP=0)
virtual int Unlink (const char *path, int Opts=0, XrdOucEnv *eP=0)
virtual XrdOssDFnewDir (const char *tident)
virtual XrdOssDFnewFile (const char *tident)

Detailed Description

This class implements XrdOss interface for usage with a CEPH storage. It should be loaded via the ofs.osslib directive.

This plugin is able to use any pool of ceph with any userId. There are several ways to provide the pool and userId to be used for a given operation. Here is the ordered list of possibilities. First one defined wins :

Note that the definition of a default via the ofs.osslib directive may clash with one used in a ofs.xattrlib directive. In case both directives have a default and they are different, the behavior is not defined. In case one of the two only has a default, it will be applied for both plugins.


Constructor & Destructor Documentation

XrdCephOss::XrdCephOss ( const char *  ,
XrdSysError  
)
virtual XrdCephOss::~XrdCephOss (  )  [virtual]

Member Function Documentation

virtual int XrdCephOss::Chmod ( const char *  ,
mode_t  mode,
XrdOucEnv eP = 0 
) [virtual]

Implements XrdOss.

int XrdCephOss::Configure ( const char *  ,
XrdSysError  
)
virtual int XrdCephOss::Create ( const char *  ,
const char *  ,
mode_t  ,
XrdOucEnv ,
int  opts = 0 
) [virtual]

Implements XrdOss.

virtual int XrdCephOss::Init ( XrdSysLogger ,
const char *   
) [virtual]

Implements XrdOss.

virtual int XrdCephOss::Mkdir ( const char *  ,
mode_t  mode,
int  mkpath = 0,
XrdOucEnv eP = 0 
) [virtual]

Implements XrdOss.

virtual XrdOssDF* XrdCephOss::newDir ( const char *  tident  )  [virtual]

Implements XrdOss.

virtual XrdOssDF* XrdCephOss::newFile ( const char *  tident  )  [virtual]

Implements XrdOss.

virtual int XrdCephOss::Remdir ( const char *  ,
int  Opts = 0,
XrdOucEnv eP = 0 
) [virtual]

Implements XrdOss.

virtual int XrdCephOss::Rename ( const char *  ,
const char *  ,
XrdOucEnv eP1 = 0,
XrdOucEnv eP2 = 0 
) [virtual]

Implements XrdOss.

virtual int XrdCephOss::Stat ( const char *  ,
struct stat *  ,
int  opts = 0,
XrdOucEnv eP = 0 
) [virtual]

Implements XrdOss.

virtual int XrdCephOss::StatFS ( const char *  path,
char *  buff,
int &  blen,
XrdOucEnv eP = 0 
) [virtual]

Reimplemented from XrdOss.

virtual int XrdCephOss::StatVS ( XrdOssVSInfo sP,
const char *  sname = 0,
int  updt = 0 
) [virtual]

Reimplemented from XrdOss.

virtual int XrdCephOss::Truncate ( const char *  ,
unsigned long  long,
XrdOucEnv eP = 0 
) [virtual]
virtual int XrdCephOss::Unlink ( const char *  path,
int  Opts = 0,
XrdOucEnv eP = 0 
) [virtual]

Implements XrdOss.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Sep 2020 for xrootd by  doxygen 1.6.1