CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
glue::PageCacheTracker::EvictRaii Class Reference

#include <glue_buffer.h>

Collaboration diagram for glue::PageCacheTracker::EvictRaii:

Public Member Functions

 EvictRaii (PageCacheTracker *t)
 ~EvictRaii ()
void Evict (uint64_t inode)

Private Attributes


Detailed Description

To avoid taking the PageCacheTracker mutex multiple times, the fuse forget_multi callback evicts inodes through this RAII object. Copy and assign operator should be deleted but that would require all compilers to use RVO. TODO(jblomer): fix with C++11

Definition at line 993 of file glue_buffer.h.

Constructor & Destructor Documentation

glue::PageCacheTracker::EvictRaii::EvictRaii ( PageCacheTracker t)

Definition at line 457 of file

Here is the call graph for this function:

glue::PageCacheTracker::EvictRaii::~EvictRaii ( )

Definition at line 464 of file

Here is the call graph for this function:

Member Function Documentation

void glue::PageCacheTracker::EvictRaii::Evict ( uint64_t  inode)

Definition at line 469 of file

Referenced by cvmfs::cvmfs_forget().

Here is the caller graph for this function:

Member Data Documentation

PageCacheTracker* glue::PageCacheTracker::EvictRaii::tracker_

Definition at line 1000 of file glue_buffer.h.

Referenced by EvictRaii().

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