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 "file_watcher.h"
20 #include "gtest/gtest_prod.h"
21 #include "hash.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 NentryTracker;
47 }
48 namespace lru {
49 class InodeCache;
50 class Md5PathCache;
51 class PathCache;
52 }
53 class NfsMaps;
54 class OptionsManager;
55 namespace perf {
56 class Counter;
57 class Statistics;
58 }
59 namespace signature {
60 class SignatureManager;
61 }
62 class SimpleChunkTables;
63 class Tracer;
64 
65 
70 class BootFactory {
71  public:
73  bool IsValid() { return boot_status_ == loader::kFailOk; }
75  std::string boot_error() { return boot_error_; }
76 
82 
83  protected:
85  std::string boot_error_;
86 };
87 
88 
96  FRIEND_TEST(T_MountPoint, MkCacheParm);
97  FRIEND_TEST(T_MountPoint, CacheSettings);
98  FRIEND_TEST(T_MountPoint, CheckInstanceName);
99  FRIEND_TEST(T_MountPoint, CheckPosixCacheSettings);
100 
101  public:
102  enum Type {
103  kFsFuse = 0,
105  };
106 
107  struct FileSystemInfo {
109  : type(kFsFuse)
110  , options_mgr(NULL)
111  , wait_workspace(false)
112  , foreground(false) { }
120  std::string name;
121 
126  std::string exe_path;
127 
132 
137 
150  };
151 
157  class IoErrorInfo {
158  public:
159  IoErrorInfo();
160 
161  void Reset();
162  void AddIoError();
163  void SetCounter(perf::Counter *c);
164  int64_t count();
165  time_t timestamp_last();
166 
167  private:
170  };
171 
175  static const unsigned kNfsNone = 0x00;
179  static const unsigned kNfsMaps = 0x01;
183  static const unsigned kNfsMapsHa = 0x02;
184 
185  static FileSystem *Create(const FileSystemInfo &fs_info);
186  ~FileSystem();
187 
188  bool IsNfsSource() { return nfs_mode_ & kNfsMaps; }
189  bool IsHaNfsSource() { return nfs_mode_ & kNfsMapsHa; }
190  void ResetErrorCounters();
191  void TearDown2ReadOnly();
192  void RemapCatalogFd(int from, int to);
193 
195  std::string cache_mgr_instance() { return cache_mgr_instance_; }
196  std::string exe_path() { return exe_path_; }
209 
219  std::string name() { return name_; }
220  NfsMaps *nfs_maps() { return nfs_maps_; }
225  Type type() { return type_; }
227  std::string workspace() { return workspace_; }
228 
229  private:
233  static bool g_alive;
234  static const char *kDefaultCacheBase; // /var/lib/cvmfs
235  static const unsigned kDefaultQuotaLimit = 1024 * 1024 * 1024; // 1GB
236  static const unsigned kDefaultNfiles = 8192; // if CVMFS_NFILES is unset
237  static const char *kDefaultCacheMgrInstance; // "default"
238 
241  is_shared(false), is_alien(false), is_managed(false),
242  avoid_rename(false), cache_base_defined(false), cache_dir_defined(false),
243  quota_limit(0)
244  { }
245  bool is_shared;
246  bool is_alien;
255  int64_t quota_limit;
256  std::string cache_path;
261  std::string workspace;
262  };
263 
264  static void LogSqliteError(void *user_data __attribute__((unused)),
265  int sqlite_extended_error,
266  const char *message);
267 
268  explicit FileSystem(const FileSystemInfo &fs_info);
269 
270  void SetupLogging();
271  void CreateStatistics();
272  void SetupSqlite();
273  bool DetermineNfsMode();
274  bool SetupWorkspace();
275  bool SetupCwd();
276  bool LockWorkspace();
277  bool SetupCrashGuard();
278  bool SetupNfsMaps();
279  void SetupUuid();
280 
281  std::string MkCacheParm(const std::string &generic_parameter,
282  const std::string &instance);
283  bool CheckInstanceName(const std::string &instance);
284  bool TriageCacheMgr();
285  CacheManager *SetupCacheMgr(const std::string &instance);
286  CacheManager *SetupPosixCacheMgr(const std::string &instance);
287  CacheManager *SetupRamCacheMgr(const std::string &instance);
288  CacheManager *SetupTieredCacheMgr(const std::string &instance);
289  CacheManager *SetupExternalCacheMgr(const std::string &instance);
290  PosixCacheSettings DeterminePosixCacheSettings(const std::string &instance);
294 
295  // See FileSystemInfo for the following fields
296  std::string name_;
297  std::string exe_path_;
305 
318 
330 
337  std::string workspace_;
343  std::string workspace_fullpath_;
345  std::string path_workspace_lock_;
346 
350  std::string path_crash_guard_;
351 
357 
362  std::string mountpoint_;
367  std::string cache_mgr_instance_;
372  std::set<std::string> constructed_instances_;
373  std::string nfs_maps_dir_;
377  unsigned nfs_mode_;
384 
395 };
396 
397 
410  public:
414  static const unsigned kShortTermTTL = 180;
415  static const time_t kIndefiniteDeadline = time_t(-1);
416 
417  static MountPoint *Create(const std::string &fqrn,
419  OptionsManager *options_mgr = NULL);
420  ~MountPoint();
421 
422  unsigned GetMaxTtlMn();
423  unsigned GetEffectiveTtlSec();
424  void SetMaxTtlMn(unsigned value_minutes);
425  void ReEvaluateAuthz();
426 
433  return external_download_mgr_;
434  }
436  return resolv_conf_watcher_;
437  }
439  bool fixed_catalog() { return fixed_catalog_; }
440  std::string fqrn() const { return fqrn_; }
445  bool enforce_acls() { return enforce_acls_; }
447  return inode_annotation_;
448  }
453  std::string membership_req() { return membership_req_; }
456  std::string repository_tag() { return repository_tag_; }
460  uid_t talk_socket_uid() { return talk_socket_uid_; }
461  gid_t talk_socket_gid() { return talk_socket_gid_; }
462  std::string talk_socket_path() { return talk_socket_path_; }
463  Tracer *tracer() { return tracer_; }
464  cvmfs::Uuid *uuid() { return uuid_; }
465 
466  bool ReloadBlacklists();
467 
468  private:
473  static const unsigned kDefaultMaxTtlSec = 0;
477  static const unsigned kDefaultKCacheTtlSec = 60;
481  static const unsigned kLibPathCacheSize = 32000;
485  static const unsigned kInodeCacheFactor = 7;
489  static const unsigned kDefaultMemcacheSize = 16 * 1024 * 1024;
493  static const char *kDefaultAuthzSearchPath; // "/usr/libexec/cvmfs/authz"
497  static const unsigned kDefaultNumConnections = 16;
501  static const unsigned kDefaultTimeoutSec = 5;
502  static const unsigned kDefaultRetries = 1;
503  static const unsigned kDefaultBackoffInitMs = 2000;
504  static const unsigned kDefaultBackoffMaxMs = 10000;
508  static const unsigned kTracerBufferSize = 8192;
509  static const unsigned kTracerFlushThreshold = 7000;
510  static const char *kDefaultBlacklist; // "/etc/cvmfs/blacklist"
511 
512  MountPoint(const std::string &fqrn,
514  OptionsManager *options_mgr);
515 
516  void CreateStatistics();
517  void CreateAuthz();
518  bool CreateSignatureManager();
519  bool CheckBlacklists();
520  bool CreateDownloadManagers();
522  void CreateFetchers();
523  bool CreateCatalogManager();
524  void CreateTables();
525  bool CreateTracer();
526  bool SetupBehavior();
528  void SetupHttpTuning();
529  bool SetupExternalDownloadMgr(bool dogeosort);
530  void SetupInodeAnnotation();
531  bool SetupOwnerMaps();
532  bool DetermineRootHash(shash::Any *root_hash);
533  bool FetchHistory(std::string *history_path);
534  std::string ReplaceHosts(std::string hosts);
535  std::string GetUniqFileSuffix();
536 
537  std::string fqrn_;
547 
569 
571 
572  unsigned max_ttl_sec_;
573  pthread_mutex_t lock_max_ttl_;
577  std::string repository_tag_;
578  std::vector<std::string> blacklist_paths_;
579 
580  // TODO(jblomer): this should go in the catalog manager
581  std::string membership_req_;
583 
584  std::string talk_socket_path_;
587 }; // class MointPoint
588 
589 #endif // CVMFS_MOUNTPOINT_H_
IoErrorInfo io_error_info_
Definition: mountpoint.h:316
OptionsManager * options_mgr()
Definition: mountpoint.h:223
std::string exe_path()
Definition: mountpoint.h:196
bool fixed_catalog()
Definition: mountpoint.h:439
FileSystem * file_system_
Definition: mountpoint.h:542
NfsMaps * nfs_maps()
Definition: mountpoint.h:220
void SetCounter(perf::Counter *c)
Definition: mountpoint.cc:95
std::string nfs_maps_dir_
Definition: mountpoint.h:373
bool foreground_
Definition: mountpoint.h:304
static const time_t kIndefiniteDeadline
Definition: mountpoint.h:415
FileSystem * file_system()
Definition: mountpoint.h:442
Log2Histogram * hist_fs_forget_multi_
Definition: mountpoint.h:321
Log2Histogram * hist_fs_opendir()
Definition: mountpoint.h:203
void SetupInodeAnnotation()
Definition: mountpoint.cc:1944
bool SetupCwd()
Definition: mountpoint.cc:775
catalog::InodeAnnotation * inode_annotation_
Definition: mountpoint.h:558
static const unsigned kDefaultKCacheTtlSec
Definition: mountpoint.h:477
loader::Failures boot_status()
Definition: mountpoint.h:74
std::string workspace_fullpath_
Definition: mountpoint.h:343
void set_boot_status(loader::Failures code)
Definition: mountpoint.h:81
bool DetermineNfsMode()
Definition: mountpoint.cc:341
cvmfs::Fetcher * fetcher()
Definition: mountpoint.h:438
static const unsigned kTracerFlushThreshold
Definition: mountpoint.h:509
perf::Statistics * statistics()
Definition: mountpoint.h:458
uid_t talk_socket_uid_
Definition: mountpoint.h:585
uid_t talk_socket_uid()
Definition: mountpoint.h:460
std::string talk_socket_path()
Definition: mountpoint.h:462
Log2Histogram * hist_fs_opendir_
Definition: mountpoint.h:324
bool LockWorkspace()
Definition: mountpoint.cc:451
bool CreateTracer()
Definition: mountpoint.cc:1487
bool wait_workspace_
Definition: mountpoint.h:303
double kcache_timeout_sec_
Definition: mountpoint.h:574
signature::SignatureManager * signature_mgr_
Definition: mountpoint.h:553
perf::Counter * n_fs_lookup_
Definition: mountpoint.h:308
AuthzSessionManager * authz_session_mgr_
Definition: mountpoint.h:550
static const unsigned kDefaultRetries
Definition: mountpoint.h:502
double kcache_timeout_sec()
Definition: mountpoint.h:451
perf::Statistics * statistics_
Definition: mountpoint.h:317
download::DownloadManager * download_mgr_
Definition: mountpoint.h:554
static const unsigned kDefaultTimeoutSec
Definition: mountpoint.h:501
std::string exe_path_
Definition: mountpoint.h:297
bool CheckInstanceName(const std::string &instance)
Definition: mountpoint.cc:107
perf::Statistics * statistics_
Definition: mountpoint.h:548
Log2Histogram * hist_fs_readlink_
Definition: mountpoint.h:323
perf::Counter * n_fs_readlink()
Definition: mountpoint.h:216
std::string fqrn() const
Definition: mountpoint.h:440
gid_t talk_socket_gid_
Definition: mountpoint.h:586
void SetupSqlite()
Definition: mountpoint.cc:975
std::string GetUniqFileSuffix()
Definition: mountpoint.cc:1643
download::DownloadManager * external_download_mgr_
Definition: mountpoint.h:555
MagicXattrManager * magic_xattr_mgr_
Definition: mountpoint.h:568
lru::InodeCache * inode_cache()
Definition: mountpoint.h:450
CacheManager * SetupCacheMgr(const std::string &instance)
Definition: mountpoint.cc:560
const SettingsPublisher & settings() const
Definition: repository.h:314
void SetupHttpTuning()
Definition: mountpoint.cc:1900
static const char * kDefaultBlacklist
Definition: mountpoint.h:510
unsigned max_ttl_sec_
Definition: mountpoint.h:572
bool CreateDownloadManagers()
Definition: mountpoint.cc:1278
std::string ReplaceHosts(std::string hosts)
std::string talk_socket_path_
Definition: mountpoint.h:584
perf::Counter * n_fs_stat_
Definition: mountpoint.h:310
perf::Counter * no_open_files_
Definition: mountpoint.h:314
static const unsigned kShortTermTTL
Definition: mountpoint.h:414
MagicXattrManager * magic_xattr_mgr()
Definition: mountpoint.h:443
void SetupLogging()
Definition: mountpoint.cc:802
int fd_workspace_lock_
Definition: mountpoint.h:344
Log2Histogram * hist_fs_read()
Definition: mountpoint.h:207
void CreateStatistics()
Definition: mountpoint.cc:1420
CacheManager * SetupRamCacheMgr(const std::string &instance)
Definition: mountpoint.cc:663
static void LogSqliteError(void *user_data __attribute__((unused)), int sqlite_extended_error, const char *message)
Definition: mountpoint.cc:482
static const unsigned kNfsMaps
Definition: mountpoint.h:179
std::string workspace_
Definition: mountpoint.h:337
perf::Counter * n_fs_read()
Definition: mountpoint.h:215
PosixCacheSettings DeterminePosixCacheSettings(const std::string &instance)
Definition: mountpoint.cc:264
bool has_membership_req_
Definition: mountpoint.h:582
lru::Md5PathCache * md5path_cache()
Definition: mountpoint.h:452
void ReEvaluateAuthz()
Definition: mountpoint.cc:1734
std::set< std::string > constructed_instances_
Definition: mountpoint.h:372
bool has_membership_req()
Definition: mountpoint.h:444
bool DetermineRootHash(shash::Any *root_hash)
Definition: mountpoint.cc:1519
perf::Counter * counter_
Definition: mountpoint.h:168
bool CreateCatalogManager()
Definition: mountpoint.cc:1221
glue::NentryTracker * nentry_tracker_
Definition: mountpoint.h:567
struct cvmcache_object_info __attribute__
Definition: atomic.h:24
void RemapCatalogFd(int from, int to)
Definition: mountpoint.cc:1069
static const unsigned kNfsNone
Definition: mountpoint.h:175
std::string path_crash_guard_
Definition: mountpoint.h:350
cvmfs::Uuid * uuid()
Definition: mountpoint.h:464
bool SetupWorkspace()
Definition: mountpoint.cc:992
static const char * kDefaultAuthzSearchPath
Definition: mountpoint.h:493
perf::Counter * n_fs_open()
Definition: mountpoint.h:214
Type type()
Definition: mountpoint.h:225
FileSystem(const FileSystemInfo &fs_info)
Definition: mountpoint.cc:363
std::string mountpoint_
Definition: mountpoint.h:362
std::string membership_req()
Definition: mountpoint.h:453
static const unsigned kDefaultMaxTtlSec
Definition: mountpoint.h:473
static const unsigned kLibPathCacheSize
Definition: mountpoint.h:481
std::string boot_error_
Definition: mountpoint.h:85
OptionsManager * options_mgr_
Definition: mountpoint.h:546
Log2Histogram * hist_fs_getattr_
Definition: mountpoint.h:322
Log2Histogram * hist_fs_releasedir_
Definition: mountpoint.h:325
Definition: tracer.h:35
perf::Counter * n_fs_readlink_
Definition: mountpoint.h:312
void SetMaxTtlMn(unsigned value_minutes)
Definition: mountpoint.cc:1744
static const unsigned kDefaultBackoffInitMs
Definition: mountpoint.h:503
perf::Counter * n_fs_forget_
Definition: mountpoint.h:313
MountPoint(const std::string &fqrn, FileSystem *file_system, OptionsManager *options_mgr)
Definition: mountpoint.cc:1648
Tracer * tracer_
Definition: mountpoint.h:565
std::string repository_tag()
Definition: mountpoint.h:456
catalog::ClientCatalogManager * catalog_mgr()
Definition: mountpoint.h:429
static bool g_alive
Definition: mountpoint.h:233
static const unsigned kDefaultNumConnections
Definition: mountpoint.h:497
void TearDown2ReadOnly()
Definition: mountpoint.cc:1056
Log2Histogram * hist_fs_forget_multi()
Definition: mountpoint.h:200
static const unsigned kNfsMapsHa
Definition: mountpoint.h:183
lru::Md5PathCache * md5path_cache_
Definition: mountpoint.h:564
std::string name_
Definition: mountpoint.h:296
Log2Histogram * hist_fs_release()
Definition: mountpoint.h:208
std::string membership_req_
Definition: mountpoint.h:581
perf::Counter * n_fs_read_
Definition: mountpoint.h:311
perf::Counter * no_open_dirs()
Definition: mountpoint.h:221
catalog::InodeAnnotation * inode_annotation()
Definition: mountpoint.h:446
static const char * kDefaultCacheMgrInstance
Definition: mountpoint.h:237
Log2Histogram * hist_fs_releasedir()
Definition: mountpoint.h:204
bool found_previous_crash_
Definition: mountpoint.h:356
loader::Failures boot_status_
Definition: mountpoint.h:84
bool TriageCacheMgr()
Definition: mountpoint.cc:1074
std::string boot_error()
Definition: mountpoint.h:75
lru::PathCache * path_cache()
Definition: mountpoint.h:455
glue::NentryTracker * nentry_tracker()
Definition: mountpoint.h:454
bool CheckPosixCacheSettings(const PosixCacheSettings &settings)
Definition: mountpoint.cc:124
bool IsNfsSource()
Definition: mountpoint.h:188
ChunkTables * chunk_tables_
Definition: mountpoint.h:560
CacheManager * cache_mgr()
Definition: mountpoint.h:194
file_watcher::FileWatcher * resolv_conf_watcher()
Definition: mountpoint.h:435
void SetupDnsTuning(download::DownloadManager *manager)
Definition: mountpoint.cc:1799
cvmfs::Uuid * uuid_cache_
Definition: mountpoint.h:383
unsigned GetEffectiveTtlSec()
Definition: mountpoint.cc:1621
perf::Counter * no_open_files()
Definition: mountpoint.h:222
AuthzSessionManager * authz_session_mgr()
Definition: mountpoint.h:427
static const unsigned kDefaultBackoffMaxMs
Definition: mountpoint.h:504
lru::InodeCache * inode_cache_
Definition: mountpoint.h:562
CacheManager * SetupPosixCacheMgr(const std::string &instance)
Definition: mountpoint.cc:633
IoErrorInfo * io_error_info()
Definition: mountpoint.h:218
download::DownloadManager * download_mgr()
Definition: mountpoint.h:431
perf::Counter * n_fs_open_
Definition: mountpoint.h:306
bool found_previous_crash()
Definition: mountpoint.h:197
bool SetupPosixQuotaMgr(const PosixCacheSettings &settings, CacheManager *cache_mgr)
Definition: mountpoint.cc:913
perf::Counter * n_fs_forget()
Definition: mountpoint.h:211
Log2Histogram * hist_fs_readlink()
Definition: mountpoint.h:202
unsigned nfs_mode_
Definition: mountpoint.h:377
Type type_
Definition: mountpoint.h:298
static const unsigned kInodeCacheFactor
Definition: mountpoint.h:485
Failures
Definition: loader.h:27
Log2Histogram * hist_fs_readdir_
Definition: mountpoint.h:326
cvmfs::Uuid * uuid_
Definition: mountpoint.h:538
ChunkTables * chunk_tables()
Definition: mountpoint.h:430
perf::Counter * n_fs_dir_open()
Definition: mountpoint.h:210
Log2Histogram * hist_fs_readdir()
Definition: mountpoint.h:205
BackoffThrottle * backoff_throttle_
Definition: mountpoint.h:552
AuthzAttachment * authz_attachment_
Definition: mountpoint.h:551
cvmfs::Fetcher * external_fetcher()
Definition: mountpoint.h:441
bool IsValid()
Definition: mountpoint.h:73
SimpleChunkTables * simple_chunk_tables_
Definition: mountpoint.h:561
bool enforce_acls()
Definition: mountpoint.h:445
static const unsigned kDefaultNfiles
Definition: mountpoint.h:236
static FileSystem * Create(const FileSystemInfo &fs_info)
Definition: mountpoint.cc:164
bool has_custom_sqlitevfs_
Definition: mountpoint.h:394
bool ReloadBlacklists()
Definition: mountpoint.cc:1134
std::string name()
Definition: mountpoint.h:219
void CreateStatistics()
Definition: mountpoint.cc:206
signature::SignatureManager * signature_mgr()
Definition: mountpoint.h:459
pthread_mutex_t lock_max_ttl_
Definition: mountpoint.h:573
Log2Histogram * hist_fs_open()
Definition: mountpoint.h:206
void CreateAuthz()
Definition: mountpoint.cc:1195
static const char * kDefaultCacheBase
Definition: mountpoint.h:234
Log2Histogram * hist_fs_lookup()
Definition: mountpoint.h:198
static const unsigned kTracerBufferSize
Definition: mountpoint.h:508
void SetupUuid()
Definition: mountpoint.cc:1041
catalog::ClientCatalogManager * catalog_mgr_
Definition: mountpoint.h:559
bool CreateSignatureManager()
Definition: mountpoint.cc:1384
std::string fqrn_
Definition: mountpoint.h:537
unsigned GetMaxTtlMn()
Definition: mountpoint.cc:1633
perf::Counter * n_fs_lookup()
Definition: mountpoint.h:212
bool SetupBehavior()
Definition: mountpoint.cc:1750
AuthzFetcher * authz_fetcher_
Definition: mountpoint.h:549
bool FetchHistory(std::string *history_path)
Definition: mountpoint.cc:1587
perf::Statistics * statistics()
Definition: mountpoint.h:224
bool enforce_acls_
Definition: mountpoint.h:576
bool IsHaNfsSource()
Definition: mountpoint.h:189
void CreateTables()
Definition: mountpoint.cc:1448
bool SetupCrashGuard()
Definition: mountpoint.cc:754
static const unsigned kDefaultQuotaLimit
Definition: mountpoint.h:235
void ResetErrorCounters()
Definition: mountpoint.cc:552
Log2Histogram * hist_fs_lookup_
Definition: mountpoint.h:319
static const unsigned kDefaultMemcacheSize
Definition: mountpoint.h:489
std::string repository_tag_
Definition: mountpoint.h:577
bool SetupOwnerMaps()
Definition: mountpoint.cc:1962
SimpleChunkTables * simple_chunk_tables()
Definition: mountpoint.h:457
bool CreateResolvConfWatcher()
Definition: mountpoint.cc:1344
perf::Counter * n_fs_lookup_negative()
Definition: mountpoint.h:213
Log2Histogram * hist_fs_read_
Definition: mountpoint.h:328
bool SetupNfsMaps()
Definition: mountpoint.cc:820
bool CheckBlacklists()
Definition: mountpoint.cc:1096
std::vector< std::string > blacklist_paths_
Definition: mountpoint.h:578
cvmfs::Fetcher * fetcher_
Definition: mountpoint.h:556
Log2Histogram * hist_fs_forget()
Definition: mountpoint.h:199
file_watcher::FileWatcher * resolv_conf_watcher_
Definition: mountpoint.h:570
bool SetupExternalDownloadMgr(bool dogeosort)
Definition: mountpoint.cc:1839
CacheManager * SetupExternalCacheMgr(const std::string &instance)
Definition: mountpoint.cc:594
perf::Counter * n_fs_lookup_negative_
Definition: mountpoint.h:309
Log2Histogram * hist_fs_open_
Definition: mountpoint.h:327
std::string cache_mgr_instance_
Definition: mountpoint.h:367
std::string path_workspace_lock_
Definition: mountpoint.h:345
Log2Histogram * hist_fs_release_
Definition: mountpoint.h:329
OptionsManager * options_mgr_
Definition: mountpoint.h:302
perf::Counter * no_open_dirs_
Definition: mountpoint.h:315
glue::InodeTracker * inode_tracker_
Definition: mountpoint.h:566
bool fixed_catalog_
Definition: mountpoint.h:575
BackoffThrottle * backoff_throttle()
Definition: mountpoint.h:428
Log2Histogram * hist_fs_getattr()
Definition: mountpoint.h:201
gid_t talk_socket_gid()
Definition: mountpoint.h:461
glue::InodeTracker * inode_tracker()
Definition: mountpoint.h:449
perf::Counter * n_fs_stat()
Definition: mountpoint.h:217
CacheManager * SetupTieredCacheMgr(const std::string &instance)
Definition: mountpoint.cc:713
FRIEND_TEST(T_MountPoint, MkCacheParm)
std::string workspace()
Definition: mountpoint.h:227
std::string cache_mgr_instance()
Definition: mountpoint.h:195
lru::PathCache * path_cache_
Definition: mountpoint.h:563
CacheManager * cache_mgr_
Definition: mountpoint.h:378
cvmfs::Uuid * uuid_cache()
Definition: mountpoint.h:226
Tracer * tracer()
Definition: mountpoint.h:463
cvmfs::Fetcher * external_fetcher_
Definition: mountpoint.h:557
perf::Counter * n_fs_dir_open_
Definition: mountpoint.h:307
std::string MkCacheParm(const std::string &generic_parameter, const std::string &instance)
Definition: mountpoint.cc:517
NfsMaps * nfs_maps_
Definition: mountpoint.h:389
download::DownloadManager * external_download_mgr()
Definition: mountpoint.h:432
void CreateFetchers()
Definition: mountpoint.cc:1367
static MountPoint * Create(const std::string &fqrn, FileSystem *file_system, OptionsManager *options_mgr=NULL)
Definition: mountpoint.cc:1155
Log2Histogram * hist_fs_forget_
Definition: mountpoint.h:320
OptionsManager * options_mgr
Definition: mountpoint.h:136