CernVM-FS
2.12.0
|
#include <catalog.h>
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 |
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.
|
inlinevirtual |
Implemented in catalog::InodeNfsGenerationAnnotation, and catalog::InodeGenerationAnnotation.
Referenced by catalog::Catalog::GetMangledInode(), and catalog::AbstractCatalogManager< Catalog >::GetRootInode().
|
pure virtual |
Implemented in catalog::InodeNfsGenerationAnnotation, and catalog::InodeGenerationAnnotation.
Referenced by Init(), and FuseRemounter::TryFinish().
|
pure virtual |
Implemented in catalog::InodeNfsGenerationAnnotation, and catalog::InodeGenerationAnnotation.
Referenced by RestoreState(), and MountPoint::SetupInodeAnnotation().
Implemented in catalog::InodeNfsGenerationAnnotation, and catalog::InodeGenerationAnnotation.
|
pure virtual |
Implemented in catalog::InodeNfsGenerationAnnotation, and catalog::InodeGenerationAnnotation.