CernVM-FS
2.12.0
|
#include <glue_buffer.h>
Public Member Functions | |
EvictRaii (PageCacheTracker *t) | |
~EvictRaii () | |
void | Evict (uint64_t inode) |
Private Attributes | |
PageCacheTracker * | tracker_ |
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.
|
explicit |
glue::PageCacheTracker::EvictRaii::~EvictRaii | ( | ) |
void glue::PageCacheTracker::EvictRaii::Evict | ( | uint64_t | inode | ) |
Definition at line 469 of file glue_buffer.cc.
Referenced by cvmfs::cvmfs_forget().
|
private |
Definition at line 1000 of file glue_buffer.h.
Referenced by EvictRaii().