CernVM-FS  2.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mountpoint.h
Go to the documentation of this file.
1 
7 #ifndef CVMFS_MOUNTPOINT_H_
8 #define CVMFS_MOUNTPOINT_H_
9 
10 #include <pthread.h>
11 #include <unistd.h>
12 
13 #include <ctime>
14 #include <set>
15 #include <string>
16 #include <vector>
17 
18 #include "cache.h"
19 #include "crypto/hash.h"
20 #include "file_watcher.h"
21 #include "gtest/gtest_prod.h"
22 #include "loader.h"
23 #include "magic_xattr.h"
24 #include "util/algorithm.h"
25 #include "util/pointer.h"
26 
27 class AuthzAttachment;
28 class AuthzFetcher;
30 class BackoffThrottle;
31 class CacheManager;
32 namespace catalog {
33 class ClientCatalogManager;
34 class InodeAnnotation;
35 }
36 struct ChunkTables;
37 namespace cvmfs {
38 class Fetcher;
39 class Uuid;
40 }
41 namespace download {
42 class DownloadManager;
43 }
44 namespace glue {
45 class InodeTracker;
46 class DentryTracker;
47 class PageCacheTracker;
48 }
49 namespace lru {
50 class InodeCache;
51 class Md5PathCache;
52 class PathCache;
53 }
54 class NfsMaps;
55 class OptionsManager;
56 namespace perf {
57 class Counter;
58 class Statistics;
59 }
60 namespace signature {
61 class SignatureManager;
62 }
63 class SimpleChunkTables;
64 class Tracer;
65 
66 
71 class BootFactory {
72  public:
74  bool IsValid() { return boot_status_ == loader::kFailOk; }
76  std::string boot_error() { return boot_error_; }
77 
83 
84  protected:
86  std::string boot_error_;
87 };
88 
89 
97  FRIEND_TEST(T_MountPoint, MkCacheParm);
98  FRIEND_TEST(T_MountPoint, CacheSettings);
99  FRIEND_TEST(T_MountPoint, CheckInstanceName);
100  FRIEND_TEST(T_MountPoint, CheckPosixCacheSettings);
101 
102  public:
103  enum Type {
104  kFsFuse = 0,
106  };
107 
108  struct FileSystemInfo {
110  : type(kFsFuse)
111  , options_mgr(NULL)
112  , wait_workspace(false)
113  , foreground(false) { }
121  std::string name;
122 
127  std::string exe_path;
128 
133 
138 
151  };
152 
158  class IoErrorInfo {
159  public:
160  IoErrorInfo();
161 
162  void Reset();
163  void AddIoError();
164  void SetCounter(perf::Counter *c);
165  int64_t count();
166  time_t timestamp_last();
167 
168  private:
171  };
172 
176  static const unsigned kNfsNone = 0x00;
180  static const unsigned kNfsMaps = 0x01;
184  static const unsigned kNfsMapsHa = 0x02;
185 
186  static FileSystem *Create(const FileSystemInfo &fs_info);
187  ~FileSystem();
188 
189  bool IsNfsSource() { return nfs_mode_ & kNfsMaps; }
190  bool IsHaNfsSource() { return nfs_mode_ & kNfsMapsHa; }
191  void ResetErrorCounters();
192  void TearDown2ReadOnly();
193  void RemapCatalogFd(int from, int to);
194 
196  std::string cache_mgr_instance() { return cache_mgr_instance_; }
197  std::string exe_path() { return exe_path_; }
210 
222  std::string name() { return name_; }
223  NfsMaps *nfs_maps() { return nfs_maps_; }
228  Type type() { return type_; }
230  std::string workspace() { return workspace_; }
231 
232  private:
236  static bool g_alive;
237  static const char *kDefaultCacheBase; // /var/lib/cvmfs
238  static const unsigned kDefaultQuotaLimit = 1024 * 1024 * 1024; // 1GB
239  static const unsigned kDefaultNfiles = 8192; // if CVMFS_NFILES is unset
240  static const char *kDefaultCacheMgrInstance; // "default"
241 
244  is_shared(false), is_alien(false), is_managed(false),
245  avoid_rename(false), cache_base_defined(false), cache_dir_defined(false),
246  quota_limit(0)
247  { }
248  bool is_shared;
249  bool is_alien;
258  int64_t quota_limit;
259  std::string cache_path;
264  std::string workspace;
265  };
266 
267  static void LogSqliteError(void *user_data __attribute__((unused)),
268  int sqlite_extended_error,
269  const char *message);
270 
271  explicit FileSystem(const FileSystemInfo &fs_info);
272 
273  void SetupLogging();
274  void CreateStatistics();
275  void SetupSqlite();
276  bool DetermineNfsMode();
277  bool SetupWorkspace();
278  bool SetupCwd();
279  bool LockWorkspace();
280  bool SetupCrashGuard();
281  bool SetupNfsMaps();
282  void SetupUuid();
283 
284  std::string MkCacheParm(const std::string &generic_parameter,
285  const std::string &instance);
286  bool CheckInstanceName(const std::string &instance);
287  bool TriageCacheMgr();
288  CacheManager *SetupCacheMgr(const std::string &instance);
289  CacheManager *SetupPosixCacheMgr(const std::string &instance);
290  CacheManager *SetupRamCacheMgr(const std::string &instance);
291  CacheManager *SetupTieredCacheMgr(const std::string &instance);
292  CacheManager *SetupExternalCacheMgr(const std::string &instance);
293  PosixCacheSettings DeterminePosixCacheSettings(const std::string &instance);
297 
298  // See FileSystemInfo for the following fields
299  std::string name_;
300  std::string exe_path_;
308 
323 
335 
342  std::string workspace_;
348  std::string workspace_fullpath_;
350  std::string path_workspace_lock_;
351 
355  std::string path_crash_guard_;
356 
362 
367  std::string mountpoint_;
372  std::string cache_mgr_instance_;
377  std::set<std::string> constructed_instances_;
378  std::string nfs_maps_dir_;
382  unsigned nfs_mode_;
389 
400 };
401 
402 
415  public:
419  static const unsigned kShortTermTTL = 180;
420  static const time_t kIndefiniteDeadline = time_t(-1);
421 
422  static MountPoint *Create(const std::string &fqrn,
424  OptionsManager *options_mgr = NULL);
425  ~MountPoint();
426 
427  unsigned GetMaxTtlMn();
428  unsigned GetEffectiveTtlSec();
429  void SetMaxTtlMn(unsigned value_minutes);
430  void ReEvaluateAuthz();
431 
438  return external_download_mgr_;
439  }
441  return resolv_conf_watcher_;
442  }
444  bool fixed_catalog() { return fixed_catalog_; }
445  std::string fqrn() const { return fqrn_; }
450  bool enforce_acls() { return enforce_acls_; }
452  return inode_annotation_;
453  }
458  std::string membership_req() { return membership_req_; }
462  std::string repository_tag() { return repository_tag_; }
466  uid_t talk_socket_uid() { return talk_socket_uid_; }
467  gid_t talk_socket_gid() { return talk_socket_gid_; }
468  std::string talk_socket_path() { return talk_socket_path_; }
469  Tracer *tracer() { return tracer_; }
470  cvmfs::Uuid *uuid() { return uuid_; }
471 
472  bool ReloadBlacklists();
473 
474  private:
479  static const unsigned kDefaultMaxTtlSec = 0;
483  static const unsigned kDefaultKCacheTtlSec = 60;
487  static const unsigned kLibPathCacheSize = 32000;
491  static const unsigned kInodeCacheFactor = 7;
495  static const unsigned kDefaultMemcacheSize = 16 * 1024 * 1024;
499  static const char *kDefaultAuthzSearchPath; // "/usr/libexec/cvmfs/authz"
503  static const unsigned kDefaultNumConnections = 16;
507  static const unsigned kDefaultTimeoutSec = 5;
508  static const unsigned kDefaultRetries = 1;
509  static const unsigned kDefaultBackoffInitMs = 2000;
510  static const unsigned kDefaultBackoffMaxMs = 10000;
514  static const unsigned kTracerBufferSize = 8192;
515  static const unsigned kTracerFlushThreshold = 7000;
516  static const char *kDefaultBlacklist; // "/etc/cvmfs/blacklist"
517 
518  MountPoint(const std::string &fqrn,
520  OptionsManager *options_mgr);
521 
522  void CreateStatistics();
523  void CreateAuthz();
524  bool CreateSignatureManager();
525  bool CheckBlacklists();
526  bool CreateDownloadManagers();
528  void CreateFetchers();
529  bool CreateCatalogManager();
530  void CreateTables();
531  bool CreateTracer();
532  bool SetupBehavior();
534  void SetupHttpTuning();
535  bool SetupExternalDownloadMgr(bool dogeosort);
536  void SetupInodeAnnotation();
537  bool SetupOwnerMaps();
538  bool DetermineRootHash(shash::Any *root_hash);
539  bool FetchHistory(std::string *history_path);
540  std::string ReplaceHosts(std::string hosts);
541  std::string GetUniqFileSuffix();
542 
543  std::string fqrn_;
553 
576 
578 
579  unsigned max_ttl_sec_;
580  pthread_mutex_t lock_max_ttl_;
584  std::string repository_tag_;
585  std::vector<std::string> blacklist_paths_;
586 
587  // TODO(jblomer): this should go in the catalog manager
588  std::string membership_req_;
590 
591  std::string talk_socket_path_;
594 }; // class MointPoint
595 
596 #endif // CVMFS_MOUNTPOINT_H_
IoErrorInfo io_error_info_
Definition: mountpoint.h:321
OptionsManager * options_mgr()
Definition: mountpoint.h:226
std::string exe_path()
Definition: mountpoint.h:197
bool fixed_catalog()
Definition: mountpoint.h:444
FileSystem * file_system_
Definition: mountpoint.h:548
NfsMaps * nfs_maps()
Definition: mountpoint.h:223
void SetCounter(perf::Counter *c)
Definition: mountpoint.cc:95
std::string nfs_maps_dir_
Definition: mountpoint.h:378
bool foreground_
Definition: mountpoint.h:307
static const time_t kIndefiniteDeadline
Definition: mountpoint.h:420
perf::Counter * n_fs_inode_replace()
Definition: mountpoint.h:213
FileSystem * file_system()
Definition: mountpoint.h:447
Log2Histogram * hist_fs_forget_multi_
Definition: mountpoint.h:326
Log2Histogram * hist_fs_opendir()
Definition: mountpoint.h:204
void SetupInodeAnnotation()
Definition: mountpoint.cc:1981
bool SetupCwd()
Definition: mountpoint.cc:781
catalog::InodeAnnotation * inode_annotation_
Definition: mountpoint.h:564
static const unsigned kDefaultKCacheTtlSec
Definition: mountpoint.h:483
loader::Failures boot_status()
Definition: mountpoint.h:75
std::string workspace_fullpath_
Definition: mountpoint.h:348
void set_boot_status(loader::Failures code)
Definition: mountpoint.h:82
bool DetermineNfsMode()
Definition: mountpoint.cc:345
cvmfs::Fetcher * fetcher()
Definition: mountpoint.h:443
static const unsigned kTracerFlushThreshold
Definition: mountpoint.h:515
perf::Statistics * statistics()
Definition: mountpoint.h:464
uid_t talk_socket_uid_
Definition: mountpoint.h:592
uid_t talk_socket_uid()
Definition: mountpoint.h:466
std::string talk_socket_path()
Definition: mountpoint.h:468
perf::Counter * n_fs_stat_stale_
Definition: mountpoint.h:314
Log2Histogram * hist_fs_opendir_
Definition: mountpoint.h:329
bool LockWorkspace()
Definition: mountpoint.cc:457
bool CreateTracer()
Definition: mountpoint.cc:1507
bool wait_workspace_
Definition: mountpoint.h:306
double kcache_timeout_sec_
Definition: mountpoint.h:581
signature::SignatureManager * signature_mgr_
Definition: mountpoint.h:559
perf::Counter * n_fs_lookup_
Definition: mountpoint.h:311
AuthzSessionManager * authz_session_mgr_
Definition: mountpoint.h:556
static const unsigned kDefaultRetries
Definition: mountpoint.h:508
double kcache_timeout_sec()
Definition: mountpoint.h:456
perf::Statistics * statistics_
Definition: mountpoint.h:322
download::DownloadManager * download_mgr_
Definition: mountpoint.h:560
static const unsigned kDefaultTimeoutSec
Definition: mountpoint.h:507
std::string exe_path_
Definition: mountpoint.h:300
bool CheckInstanceName(const std::string &instance)
Definition: mountpoint.cc:107
perf::Statistics * statistics_
Definition: mountpoint.h:554
Log2Histogram * hist_fs_readlink_
Definition: mountpoint.h:328
perf::Counter * n_fs_readlink()
Definition: mountpoint.h:218
std::string fqrn() const
Definition: mountpoint.h:445
gid_t talk_socket_gid_
Definition: mountpoint.h:593
void SetupSqlite()
Definition: mountpoint.cc:981
std::string GetUniqFileSuffix()
Definition: mountpoint.cc:1663
download::DownloadManager * external_download_mgr_
Definition: mountpoint.h:561
MagicXattrManager * magic_xattr_mgr_
Definition: mountpoint.h:575
lru::InodeCache * inode_cache()
Definition: mountpoint.h:455
CacheManager * SetupCacheMgr(const std::string &instance)
Definition: mountpoint.cc:566
const SettingsPublisher & settings() const
Definition: repository.h:316
void SetupHttpTuning()
Definition: mountpoint.cc:1937
static const char * kDefaultBlacklist
Definition: mountpoint.h:516
unsigned max_ttl_sec_
Definition: mountpoint.h:579
bool CreateDownloadManagers()
Definition: mountpoint.cc:1284
std::string ReplaceHosts(std::string hosts)
std::string talk_socket_path_
Definition: mountpoint.h:591
perf::Counter * n_fs_stat_
Definition: mountpoint.h:313
perf::Counter * no_open_files_
Definition: mountpoint.h:319
static const unsigned kShortTermTTL
Definition: mountpoint.h:419
MagicXattrManager * magic_xattr_mgr()
Definition: mountpoint.h:448
void SetupLogging()
Definition: mountpoint.cc:808
int fd_workspace_lock_
Definition: mountpoint.h:349
Log2Histogram * hist_fs_read()
Definition: mountpoint.h:208
void CreateStatistics()
Definition: mountpoint.cc:1426
CacheManager * SetupRamCacheMgr(const std::string &instance)
Definition: mountpoint.cc:669
static void LogSqliteError(void *user_data __attribute__((unused)), int sqlite_extended_error, const char *message)
Definition: mountpoint.cc:488
static const unsigned kNfsMaps
Definition: mountpoint.h:180
std::string workspace_
Definition: mountpoint.h:342
perf::Counter * n_fs_read()
Definition: mountpoint.h:217
PosixCacheSettings DeterminePosixCacheSettings(const std::string &instance)
Definition: mountpoint.cc:268
bool has_membership_req_
Definition: mountpoint.h:589
lru::Md5PathCache * md5path_cache()
Definition: mountpoint.h:457
void ReEvaluateAuthz()
Definition: mountpoint.cc:1756
std::set< std::string > constructed_instances_
Definition: mountpoint.h:377
bool has_membership_req()
Definition: mountpoint.h:449
bool DetermineRootHash(shash::Any *root_hash)
Definition: mountpoint.cc:1539
perf::Counter * counter_
Definition: mountpoint.h:169
bool CreateCatalogManager()
Definition: mountpoint.cc:1227
struct cvmcache_object_info __attribute__
Definition: atomic.h:24
void RemapCatalogFd(int from, int to)
Definition: mountpoint.cc:1075
static const unsigned kNfsNone
Definition: mountpoint.h:176
std::string path_crash_guard_
Definition: mountpoint.h:355
cvmfs::Uuid * uuid()
Definition: mountpoint.h:470
bool SetupWorkspace()
Definition: mountpoint.cc:998
static const char * kDefaultAuthzSearchPath
Definition: mountpoint.h:499
perf::Counter * n_fs_open()
Definition: mountpoint.h:216
Type type()
Definition: mountpoint.h:228
FileSystem(const FileSystemInfo &fs_info)
Definition: mountpoint.cc:367
std::string mountpoint_
Definition: mountpoint.h:367
std::string membership_req()
Definition: mountpoint.h:458
static const unsigned kDefaultMaxTtlSec
Definition: mountpoint.h:479
static const unsigned kLibPathCacheSize
Definition: mountpoint.h:487
std::string boot_error_
Definition: mountpoint.h:86
OptionsManager * options_mgr_
Definition: mountpoint.h:552
Log2Histogram * hist_fs_getattr_
Definition: mountpoint.h:327
Log2Histogram * hist_fs_releasedir_
Definition: mountpoint.h:330
Definition: tracer.h:35
glue::PageCacheTracker * page_cache_tracker()
Definition: mountpoint.h:460
perf::Counter * n_fs_readlink_
Definition: mountpoint.h:316
void SetMaxTtlMn(unsigned value_minutes)
Definition: mountpoint.cc:1766
static const unsigned kDefaultBackoffInitMs
Definition: mountpoint.h:509
perf::Counter * n_fs_forget_
Definition: mountpoint.h:317
MountPoint(const std::string &fqrn, FileSystem *file_system, OptionsManager *options_mgr)
Definition: mountpoint.cc:1668
Tracer * tracer_
Definition: mountpoint.h:571
std::string repository_tag()
Definition: mountpoint.h:462
catalog::ClientCatalogManager * catalog_mgr()
Definition: mountpoint.h:434
static bool g_alive
Definition: mountpoint.h:236
static const unsigned kDefaultNumConnections
Definition: mountpoint.h:503
void TearDown2ReadOnly()
Definition: mountpoint.cc:1062
Log2Histogram * hist_fs_forget_multi()
Definition: mountpoint.h:201
static const unsigned kNfsMapsHa
Definition: mountpoint.h:184
lru::Md5PathCache * md5path_cache_
Definition: mountpoint.h:570
std::string name_
Definition: mountpoint.h:299
Log2Histogram * hist_fs_release()
Definition: mountpoint.h:209
std::string membership_req_
Definition: mountpoint.h:588
glue::DentryTracker * dentry_tracker_
Definition: mountpoint.h:573
perf::Counter * n_fs_read_
Definition: mountpoint.h:315
perf::Counter * no_open_dirs()
Definition: mountpoint.h:224
catalog::InodeAnnotation * inode_annotation()
Definition: mountpoint.h:451
static const char * kDefaultCacheMgrInstance
Definition: mountpoint.h:240
glue::PageCacheTracker * page_cache_tracker_
Definition: mountpoint.h:574
Log2Histogram * hist_fs_releasedir()
Definition: mountpoint.h:205
bool found_previous_crash_
Definition: mountpoint.h:361
loader::Failures boot_status_
Definition: mountpoint.h:85
bool TriageCacheMgr()
Definition: mountpoint.cc:1080
std::string boot_error()
Definition: mountpoint.h:76
lru::PathCache * path_cache()
Definition: mountpoint.h:461
bool CheckPosixCacheSettings(const PosixCacheSettings &settings)
Definition: mountpoint.cc:124
perf::Counter * n_fs_inode_replace_
Definition: mountpoint.h:318
bool IsNfsSource()
Definition: mountpoint.h:189
ChunkTables * chunk_tables_
Definition: mountpoint.h:566
CacheManager * cache_mgr()
Definition: mountpoint.h:195
file_watcher::FileWatcher * resolv_conf_watcher()
Definition: mountpoint.h:440
void SetupDnsTuning(download::DownloadManager *manager)
Definition: mountpoint.cc:1836
cvmfs::Uuid * uuid_cache_
Definition: mountpoint.h:388
unsigned GetEffectiveTtlSec()
Definition: mountpoint.cc:1641
perf::Counter * no_open_files()
Definition: mountpoint.h:225
AuthzSessionManager * authz_session_mgr()
Definition: mountpoint.h:432
static const unsigned kDefaultBackoffMaxMs
Definition: mountpoint.h:510
lru::InodeCache * inode_cache_
Definition: mountpoint.h:568
CacheManager * SetupPosixCacheMgr(const std::string &instance)
Definition: mountpoint.cc:639
IoErrorInfo * io_error_info()
Definition: mountpoint.h:221
download::DownloadManager * download_mgr()
Definition: mountpoint.h:436
perf::Counter * n_fs_stat_stale()
Definition: mountpoint.h:220
perf::Counter * n_fs_open_
Definition: mountpoint.h:309
bool found_previous_crash()
Definition: mountpoint.h:198
bool SetupPosixQuotaMgr(const PosixCacheSettings &settings, CacheManager *cache_mgr)
Definition: mountpoint.cc:919
perf::Counter * n_fs_forget()
Definition: mountpoint.h:212
Log2Histogram * hist_fs_readlink()
Definition: mountpoint.h:203
unsigned nfs_mode_
Definition: mountpoint.h:382
Type type_
Definition: mountpoint.h:301
static const unsigned kInodeCacheFactor
Definition: mountpoint.h:491
Failures
Definition: loader.h:27
Log2Histogram * hist_fs_readdir_
Definition: mountpoint.h:331
cvmfs::Uuid * uuid_
Definition: mountpoint.h:544
ChunkTables * chunk_tables()
Definition: mountpoint.h:435
glue::DentryTracker * dentry_tracker()
Definition: mountpoint.h:459
perf::Counter * n_fs_dir_open()
Definition: mountpoint.h:211
Log2Histogram * hist_fs_readdir()
Definition: mountpoint.h:206
BackoffThrottle * backoff_throttle_
Definition: mountpoint.h:558
AuthzAttachment * authz_attachment_
Definition: mountpoint.h:557
cvmfs::Fetcher * external_fetcher()
Definition: mountpoint.h:446
bool IsValid()
Definition: mountpoint.h:74
SimpleChunkTables * simple_chunk_tables_
Definition: mountpoint.h:567
bool enforce_acls()
Definition: mountpoint.h:450
static const unsigned kDefaultNfiles
Definition: mountpoint.h:239
static FileSystem * Create(const FileSystemInfo &fs_info)
Definition: mountpoint.cc:164
bool has_custom_sqlitevfs_
Definition: mountpoint.h:399
bool ReloadBlacklists()
Definition: mountpoint.cc:1140
std::string name()
Definition: mountpoint.h:222
void CreateStatistics()
Definition: mountpoint.cc:206
signature::SignatureManager * signature_mgr()
Definition: mountpoint.h:465
pthread_mutex_t lock_max_ttl_
Definition: mountpoint.h:580
Log2Histogram * hist_fs_open()
Definition: mountpoint.h:207
void CreateAuthz()
Definition: mountpoint.cc:1201
static const char * kDefaultCacheBase
Definition: mountpoint.h:237
Log2Histogram * hist_fs_lookup()
Definition: mountpoint.h:199
static const unsigned kTracerBufferSize
Definition: mountpoint.h:514
void SetupUuid()
Definition: mountpoint.cc:1047
catalog::ClientCatalogManager * catalog_mgr_
Definition: mountpoint.h:565
bool CreateSignatureManager()
Definition: mountpoint.cc:1390
std::string fqrn_
Definition: mountpoint.h:543
unsigned GetMaxTtlMn()
Definition: mountpoint.cc:1653
perf::Counter * n_fs_lookup()
Definition: mountpoint.h:214
bool SetupBehavior()
Definition: mountpoint.cc:1772
AuthzFetcher * authz_fetcher_
Definition: mountpoint.h:555
bool FetchHistory(std::string *history_path)
Definition: mountpoint.cc:1607
perf::Statistics * statistics()
Definition: mountpoint.h:227
bool enforce_acls_
Definition: mountpoint.h:583
bool IsHaNfsSource()
Definition: mountpoint.h:190
void CreateTables()
Definition: mountpoint.cc:1465
bool SetupCrashGuard()
Definition: mountpoint.cc:760
static const unsigned kDefaultQuotaLimit
Definition: mountpoint.h:238
void ResetErrorCounters()
Definition: mountpoint.cc:558
Log2Histogram * hist_fs_lookup_
Definition: mountpoint.h:324
static const unsigned kDefaultMemcacheSize
Definition: mountpoint.h:495
std::string repository_tag_
Definition: mountpoint.h:584
bool SetupOwnerMaps()
Definition: mountpoint.cc:1999
SimpleChunkTables * simple_chunk_tables()
Definition: mountpoint.h:463
bool CreateResolvConfWatcher()
Definition: mountpoint.cc:1350
perf::Counter * n_fs_lookup_negative()
Definition: mountpoint.h:215
Log2Histogram * hist_fs_read_
Definition: mountpoint.h:333
bool SetupNfsMaps()
Definition: mountpoint.cc:826
bool CheckBlacklists()
Definition: mountpoint.cc:1102
std::vector< std::string > blacklist_paths_
Definition: mountpoint.h:585
cvmfs::Fetcher * fetcher_
Definition: mountpoint.h:562
Log2Histogram * hist_fs_forget()
Definition: mountpoint.h:200
file_watcher::FileWatcher * resolv_conf_watcher_
Definition: mountpoint.h:577
bool SetupExternalDownloadMgr(bool dogeosort)
Definition: mountpoint.cc:1876
CacheManager * SetupExternalCacheMgr(const std::string &instance)
Definition: mountpoint.cc:600
perf::Counter * n_fs_lookup_negative_
Definition: mountpoint.h:312
Log2Histogram * hist_fs_open_
Definition: mountpoint.h:332
std::string cache_mgr_instance_
Definition: mountpoint.h:372
std::string path_workspace_lock_
Definition: mountpoint.h:350
Log2Histogram * hist_fs_release_
Definition: mountpoint.h:334
OptionsManager * options_mgr_
Definition: mountpoint.h:305
perf::Counter * no_open_dirs_
Definition: mountpoint.h:320
glue::InodeTracker * inode_tracker_
Definition: mountpoint.h:572
bool fixed_catalog_
Definition: mountpoint.h:582
BackoffThrottle * backoff_throttle()
Definition: mountpoint.h:433
Log2Histogram * hist_fs_getattr()
Definition: mountpoint.h:202
gid_t talk_socket_gid()
Definition: mountpoint.h:467
glue::InodeTracker * inode_tracker()
Definition: mountpoint.h:454
perf::Counter * n_fs_stat()
Definition: mountpoint.h:219
CacheManager * SetupTieredCacheMgr(const std::string &instance)
Definition: mountpoint.cc:719
FRIEND_TEST(T_MountPoint, MkCacheParm)
std::string workspace()
Definition: mountpoint.h:230
std::string cache_mgr_instance()
Definition: mountpoint.h:196
lru::PathCache * path_cache_
Definition: mountpoint.h:569
CacheManager * cache_mgr_
Definition: mountpoint.h:383
cvmfs::Uuid * uuid_cache()
Definition: mountpoint.h:229
Tracer * tracer()
Definition: mountpoint.h:469
cvmfs::Fetcher * external_fetcher_
Definition: mountpoint.h:563
perf::Counter * n_fs_dir_open_
Definition: mountpoint.h:310
std::string MkCacheParm(const std::string &generic_parameter, const std::string &instance)
Definition: mountpoint.cc:523
NfsMaps * nfs_maps_
Definition: mountpoint.h:394
download::DownloadManager * external_download_mgr()
Definition: mountpoint.h:437
void CreateFetchers()
Definition: mountpoint.cc:1373
static MountPoint * Create(const std::string &fqrn, FileSystem *file_system, OptionsManager *options_mgr=NULL)
Definition: mountpoint.cc:1161
Log2Histogram * hist_fs_forget_
Definition: mountpoint.h:325
OptionsManager * options_mgr
Definition: mountpoint.h:137