CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
glue::PageCacheTracker::Entry Struct Reference
Collaboration diagram for glue::PageCacheTracker::Entry:

Public Member Functions

 Entry ()
 
 Entry (int32_t n, int32_t i, const shash::Any &h)
 

Public Attributes

int32_t nopen
 
int32_t idx_stat
 
shash::Any hash
 

Detailed Description

Definition at line 933 of file glue_buffer.h.

Constructor & Destructor Documentation

glue::PageCacheTracker::Entry::Entry ( )
inline

Definition at line 934 of file glue_buffer.h.

glue::PageCacheTracker::Entry::Entry ( int32_t  n,
int32_t  i,
const shash::Any h 
)
inline

Definition at line 935 of file glue_buffer.h.

Member Data Documentation

shash::Any glue::PageCacheTracker::Entry::hash

The content hash of the data stored in the page cache. For chunked files, hash contains an artificial hash over all the chunk hash values.

Definition at line 951 of file glue_buffer.h.

Referenced by glue::PageCacheTracker::Close(), glue::PageCacheTracker::GetInfoIfOpen(), and glue::PageCacheTracker::Open().

int32_t glue::PageCacheTracker::Entry::idx_stat

Points into the list of stat structs; >= 0 only for open files.

Definition at line 946 of file glue_buffer.h.

Referenced by glue::PageCacheTracker::Close(), glue::PageCacheTracker::GetInfoIfOpen(), and glue::PageCacheTracker::Open().

int32_t glue::PageCacheTracker::Entry::nopen

Reference counter for currently open files with a given inode. If the sign bit is set, the entry is in the transition phase from one hash to another. The sign will be cleared on Close() in this case.

Definition at line 942 of file glue_buffer.h.

Referenced by glue::PageCacheTracker::Close(), glue::PageCacheTracker::GetInfoIfOpen(), and glue::PageCacheTracker::Open().


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