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

#include <mountpoint.h>

Inheritance diagram for MountPoint:
Collaboration diagram for MountPoint:

Public Member Functions

 ~MountPoint ()
 
unsigned GetMaxTtlMn ()
 
unsigned GetEffectiveTtlSec ()
 
void SetMaxTtlMn (unsigned value_minutes)
 
void ReEvaluateAuthz ()
 
AuthzSessionManagerauthz_session_mgr ()
 
BackoffThrottlebackoff_throttle ()
 
catalog::ClientCatalogManagercatalog_mgr ()
 
ChunkTableschunk_tables ()
 
download::DownloadManagerdownload_mgr ()
 
download::DownloadManagerexternal_download_mgr ()
 
file_watcher::FileWatcherresolv_conf_watcher ()
 
cvmfs::Fetcherfetcher ()
 
bool fixed_catalog ()
 
std::string fqrn () const
 
cvmfs::Fetcherexternal_fetcher ()
 
FileSystemfile_system ()
 
MagicXattrManagermagic_xattr_mgr ()
 
bool has_membership_req ()
 
bool enforce_acls ()
 
catalog::InodeAnnotationinode_annotation ()
 
glue::InodeTrackerinode_tracker ()
 
lru::InodeCacheinode_cache ()
 
double kcache_timeout_sec ()
 
lru::Md5PathCachemd5path_cache ()
 
std::string membership_req ()
 
glue::NentryTrackernentry_tracker ()
 
lru::PathCachepath_cache ()
 
std::string repository_tag ()
 
SimpleChunkTablessimple_chunk_tables ()
 
perf::Statisticsstatistics ()
 
signature::SignatureManagersignature_mgr ()
 
uid_t talk_socket_uid ()
 
gid_t talk_socket_gid ()
 
std::string talk_socket_path ()
 
Tracertracer ()
 
cvmfs::Uuiduuid ()
 
bool ReloadBlacklists ()
 
- Public Member Functions inherited from BootFactory
 BootFactory ()
 
bool IsValid ()
 
loader::Failures boot_status ()
 
std::string boot_error ()
 
void set_boot_status (loader::Failures code)
 

Static Public Member Functions

static MountPointCreate (const std::string &fqrn, FileSystem *file_system, OptionsManager *options_mgr=NULL)
 

Static Public Attributes

static const unsigned kShortTermTTL = 180
 
static const time_t kIndefiniteDeadline = time_t(-1)
 

Private Member Functions

 MountPoint (const std::string &fqrn, FileSystem *file_system, OptionsManager *options_mgr)
 
void CreateStatistics ()
 
void CreateAuthz ()
 
bool CreateSignatureManager ()
 
bool CheckBlacklists ()
 
bool CreateDownloadManagers ()
 
bool CreateResolvConfWatcher ()
 
void CreateFetchers ()
 
bool CreateCatalogManager ()
 
void CreateTables ()
 
bool CreateTracer ()
 
bool SetupBehavior ()
 
void SetupDnsTuning (download::DownloadManager *manager)
 
void SetupHttpTuning ()
 
bool SetupExternalDownloadMgr (bool dogeosort)
 
void SetupInodeAnnotation ()
 
bool SetupOwnerMaps ()
 
bool DetermineRootHash (shash::Any *root_hash)
 
bool FetchHistory (std::string *history_path)
 
std::string ReplaceHosts (std::string hosts)
 
std::string GetUniqFileSuffix ()
 
- Private Member Functions inherited from SingleCopy
 SingleCopy ()
 

Private Attributes

std::string fqrn_
 
cvmfs::Uuiduuid_
 
FileSystemfile_system_
 
OptionsManageroptions_mgr_
 
perf::Statisticsstatistics_
 
AuthzFetcherauthz_fetcher_
 
AuthzSessionManagerauthz_session_mgr_
 
AuthzAttachmentauthz_attachment_
 
BackoffThrottlebackoff_throttle_
 
signature::SignatureManagersignature_mgr_
 
download::DownloadManagerdownload_mgr_
 
download::DownloadManagerexternal_download_mgr_
 
cvmfs::Fetcherfetcher_
 
cvmfs::Fetcherexternal_fetcher_
 
catalog::InodeAnnotationinode_annotation_
 
catalog::ClientCatalogManagercatalog_mgr_
 
ChunkTableschunk_tables_
 
SimpleChunkTablessimple_chunk_tables_
 
lru::InodeCacheinode_cache_
 
lru::PathCachepath_cache_
 
lru::Md5PathCachemd5path_cache_
 
Tracertracer_
 
glue::InodeTrackerinode_tracker_
 
glue::NentryTrackernentry_tracker_
 
MagicXattrManagermagic_xattr_mgr_
 
file_watcher::FileWatcherresolv_conf_watcher_
 
unsigned max_ttl_sec_
 
pthread_mutex_t lock_max_ttl_
 
double kcache_timeout_sec_
 
bool fixed_catalog_
 
bool enforce_acls_
 
std::string repository_tag_
 
std::vector< std::string > blacklist_paths_
 
std::string membership_req_
 
bool has_membership_req_
 
std::string talk_socket_path_
 
uid_t talk_socket_uid_
 
gid_t talk_socket_gid_
 

Static Private Attributes

static const unsigned kDefaultMaxTtlSec = 0
 
static const unsigned kDefaultKCacheTtlSec = 60
 
static const unsigned kLibPathCacheSize = 32000
 
static const unsigned kInodeCacheFactor = 7
 
static const unsigned kDefaultMemcacheSize = 16 * 1024 * 1024
 
static const char * kDefaultAuthzSearchPath = "/usr/libexec/cvmfs/authz"
 
static const unsigned kDefaultNumConnections = 16
 
static const unsigned kDefaultTimeoutSec = 5
 
static const unsigned kDefaultRetries = 1
 
static const unsigned kDefaultBackoffInitMs = 2000
 
static const unsigned kDefaultBackoffMaxMs = 10000
 
static const unsigned kTracerBufferSize = 8192
 
static const unsigned kTracerFlushThreshold = 7000
 
static const char * kDefaultBlacklist = "/etc/cvmfs/blacklist"
 

Additional Inherited Members

- Protected Attributes inherited from BootFactory
loader::Failures boot_status_
 
std::string boot_error_
 

Detailed Description

A MountPoint provides a clip around all the different *Manager objects that in combination represent a mounted cvmfs repository. Its main purpose is the controlled construction and deconstruction of the involved ensemble of classes based on the information passed from an options manager.

A MountPoint is constructed on top of a successfully constructed FileSystem.

We use pointers to manager classes to make the order of construction and destruction explicit and also to keep the include list for this header small.

Definition at line 389 of file mountpoint.h.

Constructor & Destructor Documentation

MountPoint::~MountPoint ( )

Definition at line 1667 of file mountpoint.cc.

Here is the call graph for this function:

MountPoint::MountPoint ( const std::string &  fqrn,
FileSystem file_system,
OptionsManager options_mgr 
)
private

Definition at line 1624 of file mountpoint.cc.

Referenced by Create().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Function Documentation

AuthzSessionManager* MountPoint::authz_session_mgr ( )
inline

Definition at line 407 of file mountpoint.h.

Referenced by cvmfs::CheckVoms().

Here is the caller graph for this function:

BackoffThrottle* MountPoint::backoff_throttle ( )
inline

Definition at line 408 of file mountpoint.h.

Referenced by cvmfs::cvmfs_open().

Here is the caller graph for this function:

bool MountPoint::CheckBlacklists ( )
private

Definition at line 1077 of file mountpoint.cc.

Referenced by Create().

Here is the call graph for this function:

Here is the caller graph for this function:

ChunkTables* MountPoint::chunk_tables ( )
inline

Definition at line 410 of file mountpoint.h.

Referenced by cvmfs::cvmfs_open(), cvmfs::cvmfs_read(), cvmfs::cvmfs_release(), and RestoreState().

Here is the caller graph for this function:

MountPoint * MountPoint::Create ( const std::string &  fqrn,
FileSystem file_system,
OptionsManager options_mgr = NULL 
)
static

The option_mgr parameter can be NULL, in which case the global option manager from the file system is used.

Definition at line 1136 of file mountpoint.cc.

Referenced by LibContext::Create(), and Init().

Here is the call graph for this function:

Here is the caller graph for this function:

void MountPoint::CreateAuthz ( )
private

Definition at line 1176 of file mountpoint.cc.

Referenced by Create().

Here is the call graph for this function:

Here is the caller graph for this function:

bool MountPoint::CreateCatalogManager ( )
private

Definition at line 1202 of file mountpoint.cc.

Referenced by Create().

Here is the call graph for this function:

Here is the caller graph for this function:

bool MountPoint::CreateDownloadManagers ( )
private

Definition at line 1259 of file mountpoint.cc.

Referenced by Create().

Here is the call graph for this function:

Here is the caller graph for this function:

void MountPoint::CreateFetchers ( )
private

Definition at line 1343 of file mountpoint.cc.

Referenced by Create().

Here is the call graph for this function:

Here is the caller graph for this function:

bool MountPoint::CreateResolvConfWatcher ( )
private

Definition at line 1320 of file mountpoint.cc.

Referenced by Create().

Here is the call graph for this function:

Here is the caller graph for this function:

bool MountPoint::CreateSignatureManager ( )
private

Definition at line 1360 of file mountpoint.cc.

Referenced by Create().

Here is the call graph for this function:

Here is the caller graph for this function:

void MountPoint::CreateStatistics ( )
private

Definition at line 1396 of file mountpoint.cc.

Referenced by Create().

Here is the call graph for this function:

Here is the caller graph for this function:

void MountPoint::CreateTables ( )
private

Definition at line 1424 of file mountpoint.cc.

Referenced by Create().

Here is the call graph for this function:

Here is the caller graph for this function:

bool MountPoint::CreateTracer ( )
private

Will create a tracer for the current mount point Tracefile path, Trace buffer size and trace buffer flush threshold can be configured by the options: CVMFS_TRACEFILE, CVMFS_TRACEBUFFER, CVMFS_TRACEBUFFER_THRESHOLD(respectively) VMFS_TRACEBUFFER and CVMFS_TRACEBUFFER_THRESHOLD will silently fallback to default values if configuration values don't exist or are invalid

Definition at line 1463 of file mountpoint.cc.

Referenced by Create().

Here is the call graph for this function:

Here is the caller graph for this function:

bool MountPoint::DetermineRootHash ( shash::Any root_hash)
private

Definition at line 1495 of file mountpoint.cc.

Referenced by CreateCatalogManager().

Here is the call graph for this function:

Here is the caller graph for this function:

bool MountPoint::enforce_acls ( )
inline

Definition at line 425 of file mountpoint.h.

Referenced by cvmfs::cvmfs_init().

Here is the caller graph for this function:

download::DownloadManager* MountPoint::external_download_mgr ( )
inline

Definition at line 412 of file mountpoint.h.

Referenced by ExternalHostMagicXattr::GetValue(), ExternalTimeoutMagicXattr::GetValue(), TalkManager::MainResponder(), and Spawn().

Here is the caller graph for this function:

cvmfs::Fetcher* MountPoint::external_fetcher ( )
inline

Definition at line 421 of file mountpoint.h.

Referenced by cvmfs::cvmfs_open(), cvmfs::cvmfs_read(), LibContext::Open(), cvmfs::Pin(), and LibContext::Pread().

Here is the caller graph for this function:

cvmfs::Fetcher* MountPoint::fetcher ( )
inline

Definition at line 418 of file mountpoint.h.

Referenced by cvmfs::cvmfs_open(), cvmfs::cvmfs_read(), RepoMetainfoMagicXattr::GetValue(), LibContext::Open(), cvmfs::Pin(), and LibContext::Pread().

Here is the caller graph for this function:

bool MountPoint::FetchHistory ( std::string *  history_path)
private

Definition at line 1563 of file mountpoint.cc.

Referenced by DetermineRootHash().

Here is the call graph for this function:

Here is the caller graph for this function:

bool MountPoint::fixed_catalog ( )
inline

Definition at line 419 of file mountpoint.h.

Referenced by FuseRemounter::Spawn().

Here is the caller graph for this function:

std::string MountPoint::fqrn ( ) const
inline

Definition at line 420 of file mountpoint.h.

Referenced by expand_path(), TalkManager::FormatLatencies(), FqrnMagicXattr::GetValue(), and Init().

Here is the caller graph for this function:

unsigned MountPoint::GetEffectiveTtlSec ( )

Definition at line 1597 of file mountpoint.cc.

Referenced by FuseRemounter::Spawn(), and FuseRemounter::TryFinish().

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned MountPoint::GetMaxTtlMn ( )

Definition at line 1609 of file mountpoint.cc.

Referenced by TalkManager::MainResponder().

Here is the caller graph for this function:

string MountPoint::GetUniqFileSuffix ( )
private

Files in the workspace from different file systems / mountpoints need to have different names. Used, for example, for caching proxy settings.

Definition at line 1619 of file mountpoint.cc.

Referenced by CreateDownloadManagers(), and SetupExternalDownloadMgr().

Here is the call graph for this function:

Here is the caller graph for this function:

bool MountPoint::has_membership_req ( )
inline

Definition at line 424 of file mountpoint.h.

Referenced by cvmfs::CheckVoms(), MagicXattrManager::GetListString(), and AuthzMagicXattr::PrepareValueFenced().

Here is the caller graph for this function:

catalog::InodeAnnotation* MountPoint::inode_annotation ( )
inline

Definition at line 426 of file mountpoint.h.

Referenced by Init(), RestoreState(), and FuseRemounter::TryFinish().

Here is the caller graph for this function:

lru::InodeCache* MountPoint::inode_cache ( )
inline

Definition at line 430 of file mountpoint.h.

Referenced by cvmfs::GetDirentForInode(), and FuseRemounter::TryFinish().

Here is the caller graph for this function:

glue::InodeTracker* MountPoint::inode_tracker ( )
inline
double MountPoint::kcache_timeout_sec ( )
inline

Definition at line 431 of file mountpoint.h.

Referenced by cvmfs::GetKcacheTimeout().

Here is the caller graph for this function:

MagicXattrManager* MountPoint::magic_xattr_mgr ( )
inline

Definition at line 423 of file mountpoint.h.

Referenced by cvmfs::cvmfs_getxattr(), cvmfs::cvmfs_listxattr(), and RegisterMagicXattrs().

Here is the caller graph for this function:

lru::Md5PathCache* MountPoint::md5path_cache ( )
inline

Definition at line 432 of file mountpoint.h.

Referenced by LibContext::GetDirentForPath(), cvmfs::GetDirentForPath(), and FuseRemounter::TryFinish().

Here is the caller graph for this function:

std::string MountPoint::membership_req ( )
inline

Definition at line 433 of file mountpoint.h.

Referenced by cvmfs::CheckVoms(), and AuthzMagicXattr::GetValue().

Here is the caller graph for this function:

glue::NentryTracker* MountPoint::nentry_tracker ( )
inline

Definition at line 434 of file mountpoint.h.

Referenced by cvmfs::cvmfs_lookup(), Init(), TalkManager::MainResponder(), RestoreState(), and Spawn().

Here is the caller graph for this function:

lru::PathCache* MountPoint::path_cache ( )
inline

Definition at line 435 of file mountpoint.h.

Referenced by cvmfs::GetPathForInode(), and FuseRemounter::TryFinish().

Here is the caller graph for this function:

void MountPoint::ReEvaluateAuthz ( )

Definition at line 1710 of file mountpoint.cc.

Referenced by Create(), LibContext::Remount(), and FuseRemounter::TryFinish().

Here is the call graph for this function:

Here is the caller graph for this function:

bool MountPoint::ReloadBlacklists ( )

Like CheckBlacklists but supposed to be used after bootstrap, possibly in multi-threaded context.

Definition at line 1115 of file mountpoint.cc.

Here is the call graph for this function:

std::string MountPoint::ReplaceHosts ( std::string  hosts)
private
std::string MountPoint::repository_tag ( )
inline

Definition at line 436 of file mountpoint.h.

Referenced by TagMagicXattr::PrepareValueFenced().

Here is the caller graph for this function:

file_watcher::FileWatcher* MountPoint::resolv_conf_watcher ( )
inline

Definition at line 415 of file mountpoint.h.

Referenced by Spawn().

Here is the caller graph for this function:

void MountPoint::SetMaxTtlMn ( unsigned  value_minutes)

Definition at line 1720 of file mountpoint.cc.

Referenced by TalkManager::MainResponder(), and SetupBehavior().

Here is the caller graph for this function:

bool MountPoint::SetupBehavior ( )
private

Definition at line 1726 of file mountpoint.cc.

Referenced by Create().

Here is the call graph for this function:

Here is the caller graph for this function:

void MountPoint::SetupDnsTuning ( download::DownloadManager manager)
private

Called twice once for the regular download manager and once for the external download manager.

Definition at line 1775 of file mountpoint.cc.

Referenced by CreateDownloadManagers().

Here is the call graph for this function:

Here is the caller graph for this function:

bool MountPoint::SetupExternalDownloadMgr ( bool  dogeosort)
private

Definition at line 1815 of file mountpoint.cc.

Referenced by CreateDownloadManagers().

Here is the call graph for this function:

Here is the caller graph for this function:

void MountPoint::SetupHttpTuning ( )
private

Definition at line 1876 of file mountpoint.cc.

Referenced by CreateDownloadManagers().

Here is the call graph for this function:

Here is the caller graph for this function:

void MountPoint::SetupInodeAnnotation ( )
private

Definition at line 1920 of file mountpoint.cc.

Referenced by CreateCatalogManager().

Here is the call graph for this function:

Here is the caller graph for this function:

bool MountPoint::SetupOwnerMaps ( )
private

Definition at line 1938 of file mountpoint.cc.

Referenced by CreateCatalogManager().

Here is the call graph for this function:

Here is the caller graph for this function:

signature::SignatureManager* MountPoint::signature_mgr ( )
inline

Definition at line 439 of file mountpoint.h.

Referenced by PubkeysMagicXattr::PrepareValueFenced().

Here is the caller graph for this function:

SimpleChunkTables* MountPoint::simple_chunk_tables ( )
inline

Definition at line 437 of file mountpoint.h.

Referenced by LibContext::Close(), LibContext::Open(), and LibContext::Pread().

Here is the caller graph for this function:

gid_t MountPoint::talk_socket_gid ( )
inline

Definition at line 441 of file mountpoint.h.

Referenced by Init().

Here is the caller graph for this function:

std::string MountPoint::talk_socket_path ( )
inline

Definition at line 442 of file mountpoint.h.

uid_t MountPoint::talk_socket_uid ( )
inline

Definition at line 440 of file mountpoint.h.

Referenced by Init().

Here is the caller graph for this function:

Tracer* MountPoint::tracer ( )
inline

Definition at line 443 of file mountpoint.h.

Referenced by cvmfs::cvmfs_lookup(), cvmfs::cvmfs_open(), cvmfs::DoTraceInode(), TalkManager::MainResponder(), Spawn(), and cvmfs::TraceInode().

Here is the caller graph for this function:

cvmfs::Uuid* MountPoint::uuid ( )
inline

Definition at line 444 of file mountpoint.h.

Member Data Documentation

AuthzAttachment* MountPoint::authz_attachment_
private

Definition at line 531 of file mountpoint.h.

Referenced by CreateAuthz(), CreateDownloadManagers(), ReEvaluateAuthz(), and ~MountPoint().

AuthzFetcher* MountPoint::authz_fetcher_
private

Definition at line 529 of file mountpoint.h.

Referenced by CreateAuthz(), and ~MountPoint().

AuthzSessionManager* MountPoint::authz_session_mgr_
private

Definition at line 530 of file mountpoint.h.

Referenced by authz_session_mgr(), CreateAuthz(), ReEvaluateAuthz(), and ~MountPoint().

BackoffThrottle* MountPoint::backoff_throttle_
private

Definition at line 532 of file mountpoint.h.

Referenced by backoff_throttle(), Create(), CreateFetchers(), and ~MountPoint().

std::vector<std::string> MountPoint::blacklist_paths_
private

Definition at line 558 of file mountpoint.h.

Referenced by CheckBlacklists(), and ReloadBlacklists().

ChunkTables* MountPoint::chunk_tables_
private

Definition at line 540 of file mountpoint.h.

Referenced by chunk_tables(), CreateTables(), and ~MountPoint().

bool MountPoint::enforce_acls_
private

Definition at line 556 of file mountpoint.h.

Referenced by enforce_acls(), and SetupBehavior().

download::DownloadManager* MountPoint::external_download_mgr_
private
cvmfs::Fetcher* MountPoint::external_fetcher_
private

Definition at line 537 of file mountpoint.h.

Referenced by CreateFetchers(), external_fetcher(), and ~MountPoint().

cvmfs::Fetcher* MountPoint::fetcher_
private

Definition at line 536 of file mountpoint.h.

Referenced by CreateFetchers(), fetcher(), FetchHistory(), and ~MountPoint().

FileSystem* MountPoint::file_system_
private
bool MountPoint::fixed_catalog_
private

Definition at line 555 of file mountpoint.h.

Referenced by CreateCatalogManager(), and fixed_catalog().

std::string MountPoint::fqrn_
private

Definition at line 517 of file mountpoint.h.

Referenced by CheckBlacklists(), CreateAuthz(), FetchHistory(), fqrn(), and GetUniqFileSuffix().

bool MountPoint::has_membership_req_
private

Definition at line 562 of file mountpoint.h.

Referenced by has_membership_req(), and ReEvaluateAuthz().

catalog::InodeAnnotation* MountPoint::inode_annotation_
private

Definition at line 538 of file mountpoint.h.

Referenced by inode_annotation(), SetupInodeAnnotation(), and ~MountPoint().

lru::InodeCache* MountPoint::inode_cache_
private

Definition at line 542 of file mountpoint.h.

Referenced by CreateTables(), inode_cache(), and ~MountPoint().

glue::InodeTracker* MountPoint::inode_tracker_
private

Definition at line 546 of file mountpoint.h.

Referenced by CreateTables(), inode_tracker(), and ~MountPoint().

double MountPoint::kcache_timeout_sec_
private

Definition at line 554 of file mountpoint.h.

Referenced by kcache_timeout_sec(), and SetupBehavior().

const char * MountPoint::kDefaultAuthzSearchPath = "/usr/libexec/cvmfs/authz"
staticprivate

Where to look for external authz helpers.

Definition at line 473 of file mountpoint.h.

Referenced by CreateAuthz().

const unsigned MountPoint::kDefaultBackoffInitMs = 2000
staticprivate

Definition at line 483 of file mountpoint.h.

Referenced by SetupHttpTuning().

const unsigned MountPoint::kDefaultBackoffMaxMs = 10000
staticprivate

Definition at line 484 of file mountpoint.h.

Referenced by SetupHttpTuning().

const char * MountPoint::kDefaultBlacklist = "/etc/cvmfs/blacklist"
staticprivate

Definition at line 490 of file mountpoint.h.

Referenced by CheckBlacklists().

const unsigned MountPoint::kDefaultKCacheTtlSec = 60
staticprivate

Let fuse cache dentries for 1 minute.

Definition at line 457 of file mountpoint.h.

const unsigned MountPoint::kDefaultMaxTtlSec = 0
staticprivate

The maximum TTL can be used to cap a root catalogs registered ttl. By default this is disabled (= 0).

Definition at line 453 of file mountpoint.h.

const unsigned MountPoint::kDefaultMemcacheSize = 16 * 1024 * 1024
staticprivate

Default to 16M RAM for meta-data caches; does not include the inode tracker

Definition at line 469 of file mountpoint.h.

Referenced by CreateTables().

const unsigned MountPoint::kDefaultNumConnections = 16
staticprivate

Maximum number of concurrent HTTP connections.

Definition at line 477 of file mountpoint.h.

Referenced by CreateDownloadManagers().

const unsigned MountPoint::kDefaultRetries = 1
staticprivate

Definition at line 482 of file mountpoint.h.

Referenced by SetupHttpTuning().

const unsigned MountPoint::kDefaultTimeoutSec = 5
staticprivate

Default network timeout

Definition at line 481 of file mountpoint.h.

Referenced by SetupHttpTuning().

const time_t MountPoint::kIndefiniteDeadline = time_t(-1)
static

Definition at line 395 of file mountpoint.h.

Referenced by ExpiresMagicXattr::GetValue().

const unsigned MountPoint::kInodeCacheFactor = 7
staticprivate

Cache seven times more md5 paths than inodes in the fuse module.

Definition at line 465 of file mountpoint.h.

Referenced by CreateTables().

const unsigned MountPoint::kLibPathCacheSize = 32000
staticprivate

Number of Md5Path entries in the libcvmfs cache.

Definition at line 461 of file mountpoint.h.

Referenced by CreateTables().

const unsigned MountPoint::kShortTermTTL = 180
static

If catalog reload fails, try again in 3 minutes

Definition at line 394 of file mountpoint.h.

Referenced by FuseRemounter::Check(), FuseRemounter::Spawn(), and FuseRemounter::TryFinish().

const unsigned MountPoint::kTracerBufferSize = 8192
staticprivate

Memory buffer sizes for an activated tracer

Definition at line 488 of file mountpoint.h.

Referenced by CreateTracer().

const unsigned MountPoint::kTracerFlushThreshold = 7000
staticprivate

Definition at line 489 of file mountpoint.h.

Referenced by CreateTracer().

pthread_mutex_t MountPoint::lock_max_ttl_
private

Definition at line 553 of file mountpoint.h.

Referenced by GetEffectiveTtlSec(), GetMaxTtlMn(), MountPoint(), SetMaxTtlMn(), and ~MountPoint().

MagicXattrManager* MountPoint::magic_xattr_mgr_
private

Definition at line 548 of file mountpoint.h.

Referenced by magic_xattr_mgr(), and SetupBehavior().

unsigned MountPoint::max_ttl_sec_
private

Definition at line 552 of file mountpoint.h.

Referenced by GetEffectiveTtlSec(), GetMaxTtlMn(), and SetMaxTtlMn().

lru::Md5PathCache* MountPoint::md5path_cache_
private

Definition at line 544 of file mountpoint.h.

Referenced by CreateTables(), md5path_cache(), and ~MountPoint().

std::string MountPoint::membership_req_
private

Definition at line 561 of file mountpoint.h.

Referenced by membership_req(), and ReEvaluateAuthz().

glue::NentryTracker* MountPoint::nentry_tracker_
private

Definition at line 547 of file mountpoint.h.

Referenced by CreateTables(), nentry_tracker(), and ~MountPoint().

lru::PathCache* MountPoint::path_cache_
private

Definition at line 543 of file mountpoint.h.

Referenced by CreateTables(), path_cache(), and ~MountPoint().

std::string MountPoint::repository_tag_
private

Definition at line 557 of file mountpoint.h.

Referenced by DetermineRootHash(), and repository_tag().

file_watcher::FileWatcher* MountPoint::resolv_conf_watcher_
private

Definition at line 550 of file mountpoint.h.

Referenced by CreateResolvConfWatcher(), resolv_conf_watcher(), and ~MountPoint().

signature::SignatureManager* MountPoint::signature_mgr_
private
SimpleChunkTables* MountPoint::simple_chunk_tables_
private

Definition at line 541 of file mountpoint.h.

Referenced by CreateTables(), simple_chunk_tables(), and ~MountPoint().

gid_t MountPoint::talk_socket_gid_
private

Definition at line 566 of file mountpoint.h.

Referenced by SetupBehavior(), and talk_socket_gid().

std::string MountPoint::talk_socket_path_
private

Definition at line 564 of file mountpoint.h.

Referenced by SetupBehavior(), and talk_socket_path().

uid_t MountPoint::talk_socket_uid_
private

Definition at line 565 of file mountpoint.h.

Referenced by SetupBehavior(), and talk_socket_uid().

Tracer* MountPoint::tracer_
private

Definition at line 545 of file mountpoint.h.

Referenced by CreateTracer(), tracer(), and ~MountPoint().

cvmfs::Uuid* MountPoint::uuid_
private

Definition at line 518 of file mountpoint.h.

Referenced by uuid(), and ~MountPoint().


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