CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
catalog::InodeNfsGenerationAnnotation Class Reference

#include <catalog_mgr.h>

Inheritance diagram for catalog::InodeNfsGenerationAnnotation:
Collaboration diagram for catalog::InodeNfsGenerationAnnotation:

Public Member Functions

 InodeNfsGenerationAnnotation ()
 
virtual ~InodeNfsGenerationAnnotation ()
 
virtual bool ValidInode (const uint64_t inode)
 
virtual inode_t Annotate (const inode_t raw_inode)
 
virtual inode_t Strip (const inode_t annotated_inode)
 
virtual void IncGeneration (const uint64_t by)
 
virtual inode_t GetGeneration ()
 
- Public Member Functions inherited from catalog::InodeAnnotation
virtual ~InodeAnnotation ()
 

Private Attributes

uint64_t inode_offset_
 

Static Private Attributes

static const uint64_t kRootInode
 

Detailed Description

In NFS mode, the root inode has to be always 256. Otherwise the inode maps lookup fails. In general, the catalog manager inodes in NFS mode are only used for the chunk tables.

Definition at line 498 of file catalog_mgr.h.

Constructor & Destructor Documentation

catalog::InodeNfsGenerationAnnotation::InodeNfsGenerationAnnotation ( )
inline

Definition at line 500 of file catalog_mgr.h.

virtual catalog::InodeNfsGenerationAnnotation::~InodeNfsGenerationAnnotation ( )
inlinevirtual

Definition at line 501 of file catalog_mgr.h.

Member Function Documentation

virtual inode_t catalog::InodeNfsGenerationAnnotation::Annotate ( const inode_t  raw_inode)
inlinevirtual

Implements catalog::InodeAnnotation.

Definition at line 505 of file catalog_mgr.h.

virtual inode_t catalog::InodeNfsGenerationAnnotation::GetGeneration ( )
inlinevirtual

Implements catalog::InodeAnnotation.

Definition at line 520 of file catalog_mgr.h.

virtual void catalog::InodeNfsGenerationAnnotation::IncGeneration ( const uint64_t  by)
inlinevirtual

Implements catalog::InodeAnnotation.

Definition at line 515 of file catalog_mgr.h.

Here is the call graph for this function:

virtual inode_t catalog::InodeNfsGenerationAnnotation::Strip ( const inode_t  annotated_inode)
inlinevirtual

Implements catalog::InodeAnnotation.

Definition at line 510 of file catalog_mgr.h.

virtual bool catalog::InodeNfsGenerationAnnotation::ValidInode ( const uint64_t  inode)
inlinevirtual

Implements catalog::InodeAnnotation.

Definition at line 502 of file catalog_mgr.h.

Member Data Documentation

uint64_t catalog::InodeNfsGenerationAnnotation::inode_offset_
private
const uint64_t catalog::InodeNfsGenerationAnnotation::kRootInode
staticprivate
Initial value:

Definition at line 523 of file catalog_mgr.h.

Referenced by Annotate(), Strip(), and ValidInode().


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