CernVM-FS  2.12.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 ()
 
bool cache_symlinks ()
 
bool fuse_expire_entry ()
 
catalog::InodeAnnotationinode_annotation ()
 
glue::InodeTrackerinode_tracker ()
 
lru::InodeCacheinode_cache ()
 
double kcache_timeout_sec ()
 
lru::Md5PathCachemd5path_cache ()
 
std::string membership_req ()
 
glue::DentryTrackerdentry_tracker ()
 
glue::PageCacheTrackerpage_cache_tracker ()
 
lru::PathCachepath_cache ()
 
std::string repository_tag ()
 
SimpleChunkTablessimple_chunk_tables ()
 
perf::Statisticsstatistics ()
 
perf::TelemetryAggregatortelemetry_aggr ()
 
signature::SignatureManagersignature_mgr ()
 
uid_t talk_socket_uid ()
 
gid_t talk_socket_gid ()
 
std::string talk_socket_path ()
 
Tracertracer ()
 
cvmfs::Uuiduuid ()
 
StatfsCachestatfs_cache ()
 
bool ReloadBlacklists ()
 
void DisableCacheSymlinks ()
 
void EnableFuseExpireEntry ()
 
- 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_
 
perf::TelemetryAggregatortelemetry_aggr_
 
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::DentryTrackerdentry_tracker_
 
glue::PageCacheTrackerpage_cache_tracker_
 
MagicXattrManagermagic_xattr_mgr_
 
StatfsCachestatfs_cache_
 
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_
 
bool cache_symlinks_
 
bool fuse_expire_entry_
 
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"
 
static const int kDefaultTelemetrySendRateSec = 5 * 60
 
static const int kMinimumTelemetrySendRateSec = 5
 

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 481 of file mountpoint.h.

Constructor & Destructor Documentation

MountPoint::~MountPoint ( )

Definition at line 1899 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 1851 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 499 of file mountpoint.h.

Referenced by cvmfs::CheckVoms().

Here is the caller graph for this function:

BackoffThrottle* MountPoint::backoff_throttle ( )
inline

Definition at line 500 of file mountpoint.h.

Referenced by cvmfs::cvmfs_open().

Here is the caller graph for this function:

bool MountPoint::cache_symlinks ( )
inline

Definition at line 519 of file mountpoint.h.

Referenced by cvmfs::cvmfs_init(), cvmfs::cvmfs_lookup(), and SaveState().

Here is the caller graph for this function:

bool MountPoint::CheckBlacklists ( )
private

Definition at line 1191 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 502 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 1270 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 1317 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 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::CreateDownloadManagers ( )
private

Definition at line 1400 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 1555 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 1532 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 1570 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 1611 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 1650 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 1692 of file mountpoint.cc.

Referenced by Create().

Here is the call graph for this function:

Here is the caller graph for this function:

glue::DentryTracker* MountPoint::dentry_tracker ( )
inline

Definition at line 529 of file mountpoint.h.

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

Here is the caller graph for this function:

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

Definition at line 1724 of file mountpoint.cc.

Referenced by CreateCatalogManager().

Here is the call graph for this function:

Here is the caller graph for this function:

void MountPoint::DisableCacheSymlinks ( )

Disables kernel caching of symlinks. Symlink caching requires fuse >= 3.10 (FUSE_CAP_CACHE_SYMLINKS) and linux kernel >= 4.2. Some OS might backport it.

NOTE: This function should only be called before or within cvmfs_init().

Definition at line 1253 of file mountpoint.cc.

Referenced by cvmfs::cvmfs_init(), and RestoreState().

Here is the caller graph for this function:

void MountPoint::EnableFuseExpireEntry ( )

Instead of invalidate dentries, they should be expired. Fixes issues with mount-on-top mounts and symlink caching.

Definition at line 1261 of file mountpoint.cc.

Referenced by cvmfs::cvmfs_init(), and RestoreState().

Here is the caller graph for this function:

bool MountPoint::enforce_acls ( )
inline

Definition at line 518 of file mountpoint.h.

Referenced by cvmfs::cvmfs_init().

Here is the caller graph for this function:

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

Definition at line 514 of file mountpoint.h.

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

Here is the caller graph for this function:

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

Definition at line 510 of file mountpoint.h.

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

Here is the caller graph for this function:

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

Definition at line 1792 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 511 of file mountpoint.h.

Referenced by FuseRemounter::Spawn().

Here is the caller graph for this function:

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

Definition at line 520 of file mountpoint.h.

Referenced by cvmfs::cvmfs_lookup(), FuseInvalidator::MainInvalidator(), and SaveState().

Here is the caller graph for this function:

unsigned MountPoint::GetEffectiveTtlSec ( )

Definition at line 1824 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 1836 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 1846 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 517 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 521 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 525 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 526 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 516 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 527 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 528 of file mountpoint.h.

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

Here is the caller graph for this function:

glue::PageCacheTracker* MountPoint::page_cache_tracker ( )
inline
lru::PathCache* MountPoint::path_cache ( )
inline

Definition at line 531 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 1942 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 1229 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 532 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 507 of file mountpoint.h.

Referenced by Spawn().

Here is the caller graph for this function:

void MountPoint::SetMaxTtlMn ( unsigned  value_minutes)

Definition at line 1952 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 1957 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 2092 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 2132 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 2193 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 2237 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 2255 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 536 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 533 of file mountpoint.h.

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

Here is the caller graph for this function:

StatfsCache* MountPoint::statfs_cache ( )
inline

Definition at line 542 of file mountpoint.h.

Referenced by cvmfs::cvmfs_statfs().

Here is the caller graph for this function:

gid_t MountPoint::talk_socket_gid ( )
inline

Definition at line 538 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 539 of file mountpoint.h.

uid_t MountPoint::talk_socket_uid ( )
inline

Definition at line 537 of file mountpoint.h.

Referenced by Init().

Here is the caller graph for this function:

perf::TelemetryAggregator* MountPoint::telemetry_aggr ( )
inline

Definition at line 535 of file mountpoint.h.

Referenced by Spawn().

Here is the caller graph for this function:

Tracer* MountPoint::tracer ( )
inline

Definition at line 540 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 541 of file mountpoint.h.

Member Data Documentation

AuthzAttachment* MountPoint::authz_attachment_
private

Definition at line 637 of file mountpoint.h.

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

AuthzFetcher* MountPoint::authz_fetcher_
private

Definition at line 635 of file mountpoint.h.

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

AuthzSessionManager* MountPoint::authz_session_mgr_
private

Definition at line 636 of file mountpoint.h.

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

BackoffThrottle* MountPoint::backoff_throttle_
private

Definition at line 638 of file mountpoint.h.

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

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

Definition at line 668 of file mountpoint.h.

Referenced by CheckBlacklists(), and ReloadBlacklists().

bool MountPoint::cache_symlinks_
private

Definition at line 665 of file mountpoint.h.

Referenced by cache_symlinks(), DisableCacheSymlinks(), and SetupBehavior().

ChunkTables* MountPoint::chunk_tables_
private

Definition at line 646 of file mountpoint.h.

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

glue::DentryTracker* MountPoint::dentry_tracker_
private

Definition at line 653 of file mountpoint.h.

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

bool MountPoint::enforce_acls_
private

Definition at line 664 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 643 of file mountpoint.h.

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

cvmfs::Fetcher* MountPoint::fetcher_
private

Definition at line 642 of file mountpoint.h.

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

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

Definition at line 663 of file mountpoint.h.

Referenced by CreateCatalogManager(), and fixed_catalog().

std::string MountPoint::fqrn_
private
bool MountPoint::fuse_expire_entry_
private

Definition at line 666 of file mountpoint.h.

Referenced by EnableFuseExpireEntry(), and fuse_expire_entry().

bool MountPoint::has_membership_req_
private

Definition at line 672 of file mountpoint.h.

Referenced by has_membership_req(), and ReEvaluateAuthz().

catalog::InodeAnnotation* MountPoint::inode_annotation_
private

Definition at line 644 of file mountpoint.h.

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

lru::InodeCache* MountPoint::inode_cache_
private

Definition at line 648 of file mountpoint.h.

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

glue::InodeTracker* MountPoint::inode_tracker_
private

Definition at line 652 of file mountpoint.h.

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

double MountPoint::kcache_timeout_sec_
private

Definition at line 662 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 573 of file mountpoint.h.

Referenced by CreateAuthz().

const unsigned MountPoint::kDefaultBackoffInitMs = 2000
staticprivate

Definition at line 583 of file mountpoint.h.

Referenced by SetupHttpTuning().

const unsigned MountPoint::kDefaultBackoffMaxMs = 10000
staticprivate

Definition at line 584 of file mountpoint.h.

Referenced by SetupHttpTuning().

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

Definition at line 590 of file mountpoint.h.

Referenced by CheckBlacklists().

const unsigned MountPoint::kDefaultKCacheTtlSec = 60
staticprivate

Let fuse cache dentries for 1 minute.

Definition at line 557 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 553 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 569 of file mountpoint.h.

Referenced by CreateTables().

const unsigned MountPoint::kDefaultNumConnections = 16
staticprivate

Maximum number of concurrent HTTP connections.

Definition at line 577 of file mountpoint.h.

Referenced by CreateDownloadManagers().

const unsigned MountPoint::kDefaultRetries = 1
staticprivate

Definition at line 582 of file mountpoint.h.

Referenced by SetupHttpTuning().

const int MountPoint::kDefaultTelemetrySendRateSec = 5 * 60
staticprivate

Default values for telemetry aggregator

Definition at line 594 of file mountpoint.h.

Referenced by SetupBehavior().

const unsigned MountPoint::kDefaultTimeoutSec = 5
staticprivate

Default network timeout

Definition at line 581 of file mountpoint.h.

Referenced by SetupHttpTuning().

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

Definition at line 487 of file mountpoint.h.

Referenced by ExpiresMagicXattr::FinalizeValue().

const unsigned MountPoint::kInodeCacheFactor = 7
staticprivate

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

Definition at line 565 of file mountpoint.h.

Referenced by CreateTables().

const unsigned MountPoint::kLibPathCacheSize = 32000
staticprivate

Number of Md5Path entries in the libcvmfs cache.

Definition at line 561 of file mountpoint.h.

Referenced by CreateTables().

const int MountPoint::kMinimumTelemetrySendRateSec = 5
staticprivate

Definition at line 595 of file mountpoint.h.

Referenced by SetupBehavior().

const unsigned MountPoint::kShortTermTTL = 180
static

If catalog reload fails, try again in 3 minutes

Definition at line 486 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 588 of file mountpoint.h.

Referenced by CreateTracer().

const unsigned MountPoint::kTracerFlushThreshold = 7000
staticprivate

Definition at line 589 of file mountpoint.h.

Referenced by CreateTracer().

pthread_mutex_t MountPoint::lock_max_ttl_
private

Definition at line 661 of file mountpoint.h.

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

MagicXattrManager* MountPoint::magic_xattr_mgr_
private

Definition at line 655 of file mountpoint.h.

Referenced by magic_xattr_mgr(), and SetupBehavior().

unsigned MountPoint::max_ttl_sec_
private

Definition at line 660 of file mountpoint.h.

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

lru::Md5PathCache* MountPoint::md5path_cache_
private

Definition at line 650 of file mountpoint.h.

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

std::string MountPoint::membership_req_
private

Definition at line 671 of file mountpoint.h.

Referenced by membership_req(), and ReEvaluateAuthz().

glue::PageCacheTracker* MountPoint::page_cache_tracker_
private

Definition at line 654 of file mountpoint.h.

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

lru::PathCache* MountPoint::path_cache_
private

Definition at line 649 of file mountpoint.h.

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

std::string MountPoint::repository_tag_
private

Definition at line 667 of file mountpoint.h.

Referenced by DetermineRootHash(), and repository_tag().

file_watcher::FileWatcher* MountPoint::resolv_conf_watcher_
private

Definition at line 658 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 647 of file mountpoint.h.

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

StatfsCache* MountPoint::statfs_cache_
private

Definition at line 656 of file mountpoint.h.

Referenced by SetupBehavior(), statfs_cache(), and ~MountPoint().

gid_t MountPoint::talk_socket_gid_
private

Definition at line 676 of file mountpoint.h.

Referenced by SetupBehavior(), and talk_socket_gid().

std::string MountPoint::talk_socket_path_
private

Definition at line 674 of file mountpoint.h.

Referenced by SetupBehavior(), and talk_socket_path().

uid_t MountPoint::talk_socket_uid_
private

Definition at line 675 of file mountpoint.h.

Referenced by SetupBehavior(), and talk_socket_uid().

perf::TelemetryAggregator* MountPoint::telemetry_aggr_
private

Definition at line 634 of file mountpoint.h.

Referenced by SetupBehavior(), telemetry_aggr(), and ~MountPoint().

Tracer* MountPoint::tracer_
private

Definition at line 651 of file mountpoint.h.

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

cvmfs::Uuid* MountPoint::uuid_
private

Definition at line 623 of file mountpoint.h.

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


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