CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
catalog::InodeAnnotation Class Referenceabstract

#include <catalog.h>

Inheritance diagram for catalog::InodeAnnotation:

Public Member Functions

virtual ~InodeAnnotation ()
 
virtual inode_t Annotate (const inode_t raw_inode)=0
 
virtual void IncGeneration (const uint64_t by)=0
 
virtual inode_t GetGeneration ()=0
 
virtual bool ValidInode (const uint64_t inode)=0
 
virtual inode_t Strip (const inode_t annotated_inode)=0
 

Detailed Description

Allows to define a class that transforms the inode in order to ensure that inodes are not reused after reloads (catalog or fuse module). Currently, annotation is used to set an offset starting at the highest so far issued inode. The implementation is in the catalog manager.

Definition at line 72 of file catalog.h.

Constructor & Destructor Documentation

virtual catalog::InodeAnnotation::~InodeAnnotation ( )
inlinevirtual

Definition at line 74 of file catalog.h.

Member Function Documentation

virtual inode_t catalog::InodeAnnotation::Annotate ( const inode_t  raw_inode)
pure virtual
virtual inode_t catalog::InodeAnnotation::GetGeneration ( )
pure virtual

Implemented in catalog::InodeNfsGenerationAnnotation, and catalog::InodeGenerationAnnotation.

Referenced by Init(), and FuseRemounter::TryFinish().

Here is the caller graph for this function:

virtual void catalog::InodeAnnotation::IncGeneration ( const uint64_t  by)
pure virtual

Implemented in catalog::InodeNfsGenerationAnnotation, and catalog::InodeGenerationAnnotation.

Referenced by RestoreState(), and MountPoint::SetupInodeAnnotation().

Here is the caller graph for this function:

virtual inode_t catalog::InodeAnnotation::Strip ( const inode_t  annotated_inode)
pure virtual
virtual bool catalog::InodeAnnotation::ValidInode ( const uint64_t  inode)
pure virtual

The documentation for this class was generated from the following file: