7 #ifndef CVMFS_MOUNTPOINT_H_
8 #define CVMFS_MOUNTPOINT_H_
11 #include <sys/statvfs.h>
22 #include "gtest/gtest_prod.h"
34 class ClientCatalogManager;
35 class InodeAnnotation;
43 class DownloadManager;
48 class PageCacheTracker;
60 class TelemetryAggregator;
63 class SignatureManager;
291 int sqlite_extended_error,
292 const char *message);
308 std::string
MkCacheParm(
const std::string &generic_parameter,
309 const std::string &instance);
450 reinterpret_cast<pthread_mutex_t *
>(smalloc(
sizeof(pthread_mutex_t)));
451 int retval = pthread_mutex_init(
lock_, NULL);
455 pthread_mutex_destroy(
lock_);
681 #endif // CVMFS_MOUNTPOINT_H_
perf::Counter * n_eio_total()
perf::Counter * n_eio_07_
IoErrorInfo io_error_info_
OptionsManager * options_mgr()
FileSystem * file_system_
void SetCounter(perf::Counter *c)
perf::Counter * n_eio_05()
std::string nfs_maps_dir_
static const time_t kIndefiniteDeadline
perf::Counter * n_fs_inode_replace()
perf::Counter * n_eio_08_
perf::Counter * n_emfile_
perf::Counter * n_eio_01()
FileSystem * file_system()
Log2Histogram * hist_fs_forget_multi_
Log2Histogram * hist_fs_opendir()
perf::Counter * n_fs_statfs_cached_
void SetupInodeAnnotation()
catalog::InodeAnnotation * inode_annotation_
static const unsigned kDefaultKCacheTtlSec
loader::Failures boot_status()
std::string workspace_fullpath_
void set_boot_status(loader::Failures code)
cvmfs::Fetcher * fetcher()
static const unsigned kTracerFlushThreshold
perf::Statistics * statistics()
std::string talk_socket_path()
perf::Counter * n_fs_stat_stale_
Log2Histogram * hist_fs_opendir_
double kcache_timeout_sec_
signature::SignatureManager * signature_mgr_
perf::Counter * n_fs_lookup_
AuthzSessionManager * authz_session_mgr_
static const unsigned kDefaultRetries
double kcache_timeout_sec()
perf::Statistics * statistics_
download::DownloadManager * download_mgr_
static const unsigned kDefaultTimeoutSec
bool CheckInstanceName(const std::string &instance)
perf::Statistics * statistics_
Log2Histogram * hist_fs_readlink_
static void SetupLoggingStandalone(const OptionsManager &options_mgr, const std::string &prefix)
perf::Counter * n_fs_readlink()
perf::Counter * n_eio_total_
std::string GetUniqFileSuffix()
StatfsCache * statfs_cache_
download::DownloadManager * external_download_mgr_
MagicXattrManager * magic_xattr_mgr_
lru::InodeCache * inode_cache()
CacheManager * SetupCacheMgr(const std::string &instance)
const SettingsPublisher & settings() const
static const char * kDefaultBlacklist
bool CreateDownloadManagers()
std::string ReplaceHosts(std::string hosts)
std::string talk_socket_path_
perf::Counter * n_fs_stat_
perf::Counter * n_eio_05_
perf::Counter * no_open_files_
assert((mem||(size==0))&&"Out Of Memory")
static const unsigned kShortTermTTL
MagicXattrManager * magic_xattr_mgr()
static void SetupGlobalEnvironmentParams()
Log2Histogram * hist_fs_read()
CacheManager * SetupRamCacheMgr(const std::string &instance)
static void LogSqliteError(void *user_data __attribute__((unused)), int sqlite_extended_error, const char *message)
void EnableFuseExpireEntry()
static const unsigned kNfsMaps
perf::Counter * n_fs_read()
PosixCacheSettings DeterminePosixCacheSettings(const std::string &instance)
lru::Md5PathCache * md5path_cache()
perf::Counter * n_eio_01_
uint64_t expiry_deadline_
std::set< std::string > constructed_instances_
bool has_membership_req()
bool DetermineRootHash(shash::Any *root_hash)
bool CreateCatalogManager()
struct cvmcache_object_info __attribute__
void RemapCatalogFd(int from, int to)
static const unsigned kNfsNone
std::string path_crash_guard_
perf::Counter * n_eio_08()
static const char * kDefaultAuthzSearchPath
perf::Counter * n_fs_open()
FileSystem(const FileSystemInfo &fs_info)
std::string membership_req()
static const unsigned kDefaultMaxTtlSec
static const unsigned kLibPathCacheSize
OptionsManager * options_mgr_
Log2Histogram * hist_fs_getattr_
Log2Histogram * hist_fs_releasedir_
const uint64_t cache_timeout()
void ReplaceCacheManager(CacheManager *new_cache_mgr)
void DisableCacheSymlinks()
glue::PageCacheTracker * page_cache_tracker()
perf::Counter * n_fs_readlink_
perf::Counter * n_eio_07()
void SetMaxTtlMn(unsigned value_minutes)
static const unsigned kDefaultBackoffInitMs
perf::Counter * n_fs_forget_
MountPoint(const std::string &fqrn, FileSystem *file_system, OptionsManager *options_mgr)
std::string repository_tag()
catalog::ClientCatalogManager * catalog_mgr()
static const unsigned kDefaultNumConnections
Log2Histogram * hist_fs_forget_multi()
static const unsigned kNfsMapsHa
lru::Md5PathCache * md5path_cache_
Log2Histogram * hist_fs_release()
std::string membership_req_
glue::DentryTracker * dentry_tracker_
perf::Counter * n_emfile()
perf::Counter * n_fs_read_
perf::Counter * no_open_dirs()
perf::Counter * n_eio_06_
catalog::InodeAnnotation * inode_annotation()
static const char * kDefaultCacheMgrInstance
glue::PageCacheTracker * page_cache_tracker_
Log2Histogram * hist_fs_releasedir()
bool found_previous_crash_
loader::Failures boot_status_
StatfsCache(uint64_t cacheValid)
lru::PathCache * path_cache()
bool CheckPosixCacheSettings(const PosixCacheSettings &settings)
perf::TelemetryAggregator * telemetry_aggr_
perf::Counter * n_fs_inode_replace_
ChunkTables * chunk_tables_
CacheManager * cache_mgr()
file_watcher::FileWatcher * resolv_conf_watcher()
void SetupDnsTuning(download::DownloadManager *manager)
cvmfs::Uuid * uuid_cache_
unsigned GetEffectiveTtlSec()
perf::TelemetryAggregator * telemetry_aggr()
perf::Counter * no_open_files()
AuthzSessionManager * authz_session_mgr()
static const unsigned kDefaultBackoffMaxMs
lru::InodeCache * inode_cache_
CacheManager * SetupPosixCacheMgr(const std::string &instance)
IoErrorInfo * io_error_info()
download::DownloadManager * download_mgr()
perf::Counter * n_fs_stat_stale()
perf::Counter * n_fs_open_
bool found_previous_crash()
bool SetupPosixQuotaMgr(const PosixCacheSettings &settings, CacheManager *cache_mgr)
perf::Counter * n_fs_forget()
Log2Histogram * hist_fs_readlink()
static const unsigned kInodeCacheFactor
perf::Counter * n_eio_04_
Log2Histogram * hist_fs_readdir_
ChunkTables * chunk_tables()
glue::DentryTracker * dentry_tracker()
perf::Counter * n_fs_dir_open()
Log2Histogram * hist_fs_readdir()
BackoffThrottle * backoff_throttle_
AuthzAttachment * authz_attachment_
cvmfs::Fetcher * external_fetcher()
SimpleChunkTables * simple_chunk_tables_
perf::Counter * n_eio_03_
static const unsigned kDefaultNfiles
static FileSystem * Create(const FileSystemInfo &fs_info)
bool has_custom_sqlitevfs_
perf::Counter * n_fs_statfs_
signature::SignatureManager * signature_mgr()
pthread_mutex_t lock_max_ttl_
Log2Histogram * hist_fs_open()
static const char * kDefaultCacheBase
Log2Histogram * hist_fs_lookup()
static const unsigned kTracerBufferSize
perf::Counter * n_eio_02_
catalog::ClientCatalogManager * catalog_mgr_
bool CreateSignatureManager()
perf::Counter * n_fs_lookup()
AuthzFetcher * authz_fetcher_
bool FetchHistory(std::string *history_path)
perf::Statistics * statistics()
static const unsigned kDefaultQuotaLimit
void ResetErrorCounters()
Log2Histogram * hist_fs_lookup_
perf::Counter * n_eio_02()
static const unsigned kDefaultMemcacheSize
perf::Counter * n_eio_03()
perf::Counter * n_eio_04()
std::string repository_tag_
SimpleChunkTables * simple_chunk_tables()
bool CreateResolvConfWatcher()
perf::Counter * n_fs_lookup_negative()
Log2Histogram * hist_fs_read_
StatfsCache * statfs_cache()
std::vector< std::string > blacklist_paths_
cvmfs::Fetcher * fetcher_
Log2Histogram * hist_fs_forget()
file_watcher::FileWatcher * resolv_conf_watcher_
bool SetupExternalDownloadMgr(bool dogeosort)
CacheManager * SetupExternalCacheMgr(const std::string &instance)
perf::Counter * n_fs_lookup_negative_
Log2Histogram * hist_fs_open_
std::string cache_mgr_instance_
std::string path_workspace_lock_
Log2Histogram * hist_fs_release_
static const int kDefaultTelemetrySendRateSec
OptionsManager * options_mgr_
perf::Counter * no_open_dirs_
glue::InodeTracker * inode_tracker_
BackoffThrottle * backoff_throttle()
Log2Histogram * hist_fs_getattr()
static const int kMinimumTelemetrySendRateSec
glue::InodeTracker * inode_tracker()
perf::Counter * n_fs_stat()
CacheManager * SetupTieredCacheMgr(const std::string &instance)
FRIEND_TEST(T_MountPoint, MkCacheParm)
std::string cache_mgr_instance()
uint64_t * expiry_deadline()
lru::PathCache * path_cache_
CacheManager * cache_mgr_
cvmfs::Uuid * uuid_cache()
cvmfs::Fetcher * external_fetcher_
perf::Counter * n_fs_statfs_cached()
perf::Counter * n_fs_dir_open_
std::string MkCacheParm(const std::string &generic_parameter, const std::string &instance)
download::DownloadManager * external_download_mgr()
perf::Counter * n_fs_statfs()
static MountPoint * Create(const std::string &fqrn, FileSystem *file_system, OptionsManager *options_mgr=NULL)
Log2Histogram * hist_fs_forget_
perf::Counter * n_eio_06()
OptionsManager * options_mgr