|
| XrdCephXAttr () |
| Constructor.
|
|
virtual | ~XrdCephXAttr () |
| Destructor.
|
|
virtual int | Del (const char *Aname, const char *Path, int fd=-1) |
|
virtual void | Free (AList *aPL) |
|
virtual int | Get (const char *Aname, void *Aval, int Avsz, const char *Path, int fd=-1) |
|
virtual int | List (AList **aPL, const char *Path, int fd=-1, int getSz=0) |
|
virtual int | Set (const char *Aname, const void *Aval, int Avsz, const char *Path, int fd=-1, int isNew=0) |
|
virtual int | Copy (const char *iPath, int iFD, const char *oPath, int oFD, const char *Aname=0) |
|
virtual int | Del (const char *Aname, const char *Path, int fd=-1)=0 |
|
virtual void | Free (AList *aPL)=0 |
|
virtual int | Get (const char *Aname, void *Aval, int Avsz, const char *Path, int fd=-1)=0 |
|
virtual int | List (AList **aPL, const char *Path, int fd=-1, int getSz=0)=0 |
|
virtual int | Set (const char *Aname, const void *Aval, int Avsz, const char *Path, int fd=-1, int isNew=0)=0 |
|
virtual XrdSysError * | SetMsgRoute (XrdSysError *errP) |
|
| XrdSysXAttr () |
| Constructor and Destructor.
|
|
virtual | ~XrdSysXAttr () |
|
This class implements XrdSysXAttr interface for usage with a CEPH storage. It should be loaded via the ofs.xattrlib 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 :
- the path can be prepended with userId and pool. Syntax is : [[userId@]pool:]<actual path>
- the XrdOucEnv parameter, when existing, can have 'cephUserId' and/or 'cephPool' entries
- the ofs.xattrlib directive can provide an argument with format : [userID@]pool
- default are 'admin' and 'default' for userId and pool respectively
Note that the definition of a default via the ofs.xattrlib directive may clash with one used in a ofs.osslib 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.