XrdCephOssDir Class Reference

#include <XrdCephOssDir.hh>

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

List of all members.

Public Member Functions

 XrdCephOssDir (XrdCephOss *cephoss)
virtual ~XrdCephOssDir ()
virtual int Opendir (const char *, XrdOucEnv &)
virtual int Readdir (char *buff, int blen)
virtual int Close (long long *retsz=0)

Private Attributes

DIR * m_dirp
XrdCephOssm_cephOss

Detailed Description

This class implements XrdOssDF interface for usage with a CEPH storage. It has a very restricted usage as the only valid path for opendir is '/'. The reason is that ceph is an object store where you can only list all objects, and that has no notion of hierarchy

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

XrdCephOssDir::XrdCephOssDir ( XrdCephOss cephoss  ) 
virtual XrdCephOssDir::~XrdCephOssDir (  )  [inline, virtual]

Member Function Documentation

virtual int XrdCephOssDir::Close ( long long *  retsz = 0  )  [virtual]

Implements XrdOssDF.

virtual int XrdCephOssDir::Opendir ( const char *  ,
XrdOucEnv  
) [virtual]

Reimplemented from XrdOssDF.

virtual int XrdCephOssDir::Readdir ( char *  buff,
int  blen 
) [virtual]

Reimplemented from XrdOssDF.


Member Data Documentation

DIR* XrdCephOssDir::m_dirp [private]

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

Generated on 13 May 2020 for xrootd by  doxygen 1.6.1