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

#include <magic_xattr.h>

Inheritance diagram for TagMagicXattr:
Collaboration diagram for TagMagicXattr:

Private Member Functions

virtual bool PrepareValueFenced ()
 
virtual void FinalizeValue ()
 

Private Attributes

std::string tag_
 

Additional Inherited Members

- Public Member Functions inherited from BaseMagicXattr
 BaseMagicXattr ()
 
void MarkProtected ()
 
bool PrepareValueFencedProtected (gid_t gid)
 
std::pair< bool, std::string > GetValue (int32_t requested_page, const MagicXattrMode mode)
 
virtual MagicXattrFlavor GetXattrFlavor ()
 
void Lock (PathString path, catalog::DirectoryEntry *dirent)
 
void Release ()
 
virtual ~BaseMagicXattr ()
 
- Static Public Attributes inherited from BaseMagicXattr
static const uint32_t kMaxCharsPerPage = 40000
 
- Protected Member Functions inherited from BaseMagicXattr
std::string HeaderMultipageHuman (uint32_t requested_page)
 
- Protected Attributes inherited from BaseMagicXattr
MagicXattrManagerxattr_mgr_
 
PathString path_
 
catalog::DirectoryEntrydirent_
 
pthread_mutex_t access_mutex_
 
bool is_protected_
 
std::vector< std::string > result_pages_
 

Detailed Description

Definition at line 457 of file magic_xattr.h.

Member Function Documentation

void TagMagicXattr::FinalizeValue ( )
privatevirtual

Reimplemented from BaseMagicXattr.

Definition at line 730 of file magic_xattr.cc.

bool TagMagicXattr::PrepareValueFenced ( )
privatevirtual

This function is used to obtain the necessary information while inside FuseRemounter::fence(), which should prevent data races.

Reimplemented from BaseMagicXattr.

Definition at line 725 of file magic_xattr.cc.

Here is the call graph for this function:

Member Data Documentation

std::string TagMagicXattr::tag_
private

Definition at line 458 of file magic_xattr.h.

Referenced by FinalizeValue(), and PrepareValueFenced().


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