CernVM-FS  2.9.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 
155  static const unsigned kNfsNone = 0x00;
159  static const unsigned kNfsMaps = 0x01;
163  static const unsigned kNfsMapsHa = 0x02;
164 
165  static FileSystem *Create(const FileSystemInfo &fs_info);
166  ~FileSystem();
167 
168  bool IsNfsSource() { return nfs_mode_ & kNfsMaps; }
169  bool IsHaNfsSource() { return nfs_mode_ & kNfsMapsHa; }
170  void ResetErrorCounters();
171  void TearDown2ReadOnly();
172  void RemapCatalogFd(int from, int to);
173 
175  std::string cache_mgr_instance() { return cache_mgr_instance_; }
176  std::string exe_path() { return exe_path_; }
189 
199  std::string name() { return name_; }
200  NfsMaps *nfs_maps() { return nfs_maps_; }
205  Type type() { return type_; }
207  std::string workspace() { return workspace_; }
208 
209  private:
213  static bool g_alive;
214  static const char *kDefaultCacheBase; // /var/lib/cvmfs
215  static const unsigned kDefaultQuotaLimit = 1024 * 1024 * 1024; // 1GB
216  static const unsigned kDefaultNfiles = 8192; // if CVMFS_NFILES is unset
217  static const char *kDefaultCacheMgrInstance; // "default"
218 
221  is_shared(false), is_alien(false), is_managed(false),
222  avoid_rename(false), cache_base_defined(false), cache_dir_defined(false),
223  quota_limit(0)
224  { }
225  bool is_shared;
226  bool is_alien;
235  int64_t quota_limit;
236  std::string cache_path;
241  std::string workspace;
242  };
243 
244  static void LogSqliteError(void *user_data __attribute__((unused)),
245  int sqlite_extended_error,
246  const char *message);
247 
248  explicit FileSystem(const FileSystemInfo &fs_info);
249 
250  void SetupLogging();
251  void CreateStatistics();
252  void SetupSqlite();
253  bool DetermineNfsMode();
254  bool SetupWorkspace();
255  bool SetupCwd();
256  bool LockWorkspace();
257  bool SetupCrashGuard();
258  bool SetupNfsMaps();
259  void SetupUuid();
260 
261  std::string MkCacheParm(const std::string &generic_parameter,
262  const std::string &instance);
263  bool CheckInstanceName(const std::string &instance);
264  bool TriageCacheMgr();
265  CacheManager *SetupCacheMgr(const std::string &instance);
266  CacheManager *SetupPosixCacheMgr(const std::string &instance);
267  CacheManager *SetupRamCacheMgr(const std::string &instance);
268  CacheManager *SetupTieredCacheMgr(const std::string &instance);
269  CacheManager *SetupExternalCacheMgr(const std::string &instance);
270  PosixCacheSettings DeterminePosixCacheSettings(const std::string &instance);
274 
275  // See FileSystemInfo for the following fields
276  std::string name_;
277  std::string exe_path_;
285 
298 
310 
317  std::string workspace_;
323  std::string workspace_fullpath_;
325  std::string path_workspace_lock_;
326 
330  std::string path_crash_guard_;
331 
337 
342  std::string mountpoint_;
347  std::string cache_mgr_instance_;
352  std::set<std::string> constructed_instances_;
353  std::string nfs_maps_dir_;
357  unsigned nfs_mode_;
364 
375 };
376 
377 
390  public:
394  static const unsigned kShortTermTTL = 180;
395  static const time_t kIndefiniteDeadline = time_t(-1);
396 
397  static MountPoint *Create(const std::string &fqrn,
399  OptionsManager *options_mgr = NULL);
400  ~MountPoint();
401 
402  unsigned GetMaxTtlMn();
403  unsigned GetEffectiveTtlSec();
404  void SetMaxTtlMn(unsigned value_minutes);
405  void ReEvaluateAuthz();
406 
413  return external_download_mgr_;
414  }
416  return resolv_conf_watcher_;
417  }
419  bool fixed_catalog() { return fixed_catalog_; }
420  std::string fqrn() const { return fqrn_; }
425  bool enforce_acls() { return enforce_acls_; }
427  return inode_annotation_;
428  }
433  std::string membership_req() { return membership_req_; }
436  std::string repository_tag() { return repository_tag_; }
440  uid_t talk_socket_uid() { return talk_socket_uid_; }
441  gid_t talk_socket_gid() { return talk_socket_gid_; }
442  std::string talk_socket_path() { return talk_socket_path_; }
443  Tracer *tracer() { return tracer_; }
444  cvmfs::Uuid *uuid() { return uuid_; }
445 
446  bool ReloadBlacklists();
447 
448  private:
453  static const unsigned kDefaultMaxTtlSec = 0;
457  static const unsigned kDefaultKCacheTtlSec = 60;
461  static const unsigned kLibPathCacheSize = 32000;
465  static const unsigned kInodeCacheFactor = 7;
469  static const unsigned kDefaultMemcacheSize = 16 * 1024 * 1024;
473  static const char *kDefaultAuthzSearchPath; // "/usr/libexec/cvmfs/authz"
477  static const unsigned kDefaultNumConnections = 16;
481  static const unsigned kDefaultTimeoutSec = 5;
482  static const unsigned kDefaultRetries = 1;
483  static const unsigned kDefaultBackoffInitMs = 2000;
484  static const unsigned kDefaultBackoffMaxMs = 10000;
488  static const unsigned kTracerBufferSize = 8192;
489  static const unsigned kTracerFlushThreshold = 7000;
490  static const char *kDefaultBlacklist; // "/etc/cvmfs/blacklist"
491 
492  MountPoint(const std::string &fqrn,
494  OptionsManager *options_mgr);
495 
496  void CreateStatistics();
497  void CreateAuthz();
498  bool CreateSignatureManager();
499  bool CheckBlacklists();
500  bool CreateDownloadManagers();
502  void CreateFetchers();
503  bool CreateCatalogManager();
504  void CreateTables();
505  bool CreateTracer();
506  bool SetupBehavior();
508  void SetupHttpTuning();
509  bool SetupExternalDownloadMgr(bool dogeosort);
510  void SetupInodeAnnotation();
511  bool SetupOwnerMaps();
512  bool DetermineRootHash(shash::Any *root_hash);
513  bool FetchHistory(std::string *history_path);
514  std::string ReplaceHosts(std::string hosts);
515  std::string GetUniqFileSuffix();
516 
517  std::string fqrn_;
527 
549 
551 
552  unsigned max_ttl_sec_;
553  pthread_mutex_t lock_max_ttl_;
557  std::string repository_tag_;
558  std::vector<std::string> blacklist_paths_;
559 
560  // TODO(jblomer): this should go in the catalog manager
561  std::string membership_req_;
563 
564  std::string talk_socket_path_;
567 }; // class MointPoint
568 
569 #endif // CVMFS_MOUNTPOINT_H_
OptionsManager * options_mgr()
Definition: mountpoint.h:203
std::string exe_path()
Definition: mountpoint.h:176
bool fixed_catalog()
Definition: mountpoint.h:419
FileSystem * file_system_
Definition: mountpoint.h:522
NfsMaps * nfs_maps()
Definition: mountpoint.h:200
perf::Counter * n_io_error()
Definition: mountpoint.h:198
std::string nfs_maps_dir_
Definition: mountpoint.h:353
bool foreground_
Definition: mountpoint.h:284
static const time_t kIndefiniteDeadline
Definition: mountpoint.h:395
FileSystem * file_system()
Definition: mountpoint.h:422
Log2Histogram * hist_fs_forget_multi_
Definition: mountpoint.h:301
Log2Histogram * hist_fs_opendir()
Definition: mountpoint.h:183
void SetupInodeAnnotation()
Definition: mountpoint.cc:1915
bool SetupCwd()
Definition: mountpoint.cc:756
catalog::InodeAnnotation * inode_annotation_
Definition: mountpoint.h:538
static const unsigned kDefaultKCacheTtlSec
Definition: mountpoint.h:457
loader::Failures boot_status()
Definition: mountpoint.h:74
std::string workspace_fullpath_
Definition: mountpoint.h:323
void set_boot_status(loader::Failures code)
Definition: mountpoint.h:81
bool DetermineNfsMode()
Definition: mountpoint.cc:321
cvmfs::Fetcher * fetcher()
Definition: mountpoint.h:418
static const unsigned kTracerFlushThreshold
Definition: mountpoint.h:489
perf::Statistics * statistics()
Definition: mountpoint.h:438
uid_t talk_socket_uid_
Definition: mountpoint.h:565
uid_t talk_socket_uid()
Definition: mountpoint.h:440
std::string talk_socket_path()
Definition: mountpoint.h:442
Log2Histogram * hist_fs_opendir_
Definition: mountpoint.h:304
bool LockWorkspace()
Definition: mountpoint.cc:432
bool CreateTracer()
Definition: mountpoint.cc:1458
bool wait_workspace_
Definition: mountpoint.h:283
double kcache_timeout_sec_
Definition: mountpoint.h:554
signature::SignatureManager * signature_mgr_
Definition: mountpoint.h:533
perf::Counter * n_fs_lookup_
Definition: mountpoint.h:288
AuthzSessionManager * authz_session_mgr_
Definition: mountpoint.h:530
static const unsigned kDefaultRetries
Definition: mountpoint.h:482
double kcache_timeout_sec()
Definition: mountpoint.h:431
perf::Statistics * statistics_
Definition: mountpoint.h:297
download::DownloadManager * download_mgr_
Definition: mountpoint.h:534
static const unsigned kDefaultTimeoutSec
Definition: mountpoint.h:481
std::string exe_path_
Definition: mountpoint.h:277
bool CheckInstanceName(const std::string &instance)
Definition: mountpoint.cc:87
perf::Statistics * statistics_
Definition: mountpoint.h:528
Log2Histogram * hist_fs_readlink_
Definition: mountpoint.h:303
perf::Counter * n_fs_readlink()
Definition: mountpoint.h:196
std::string fqrn() const
Definition: mountpoint.h:420
gid_t talk_socket_gid_
Definition: mountpoint.h:566
void SetupSqlite()
Definition: mountpoint.cc:956
std::string GetUniqFileSuffix()
Definition: mountpoint.cc:1614
download::DownloadManager * external_download_mgr_
Definition: mountpoint.h:535
MagicXattrManager * magic_xattr_mgr_
Definition: mountpoint.h:548
lru::InodeCache * inode_cache()
Definition: mountpoint.h:430
CacheManager * SetupCacheMgr(const std::string &instance)
Definition: mountpoint.cc:541
const SettingsPublisher & settings() const
Definition: repository.h:306
void SetupHttpTuning()
Definition: mountpoint.cc:1871
static const char * kDefaultBlacklist
Definition: mountpoint.h:490
unsigned max_ttl_sec_
Definition: mountpoint.h:552
bool CreateDownloadManagers()
Definition: mountpoint.cc:1259
std::string ReplaceHosts(std::string hosts)
std::string talk_socket_path_
Definition: mountpoint.h:564
perf::Counter * n_fs_stat_
Definition: mountpoint.h:290
perf::Counter * no_open_files_
Definition: mountpoint.h:295
static const unsigned kShortTermTTL
Definition: mountpoint.h:394
MagicXattrManager * magic_xattr_mgr()
Definition: mountpoint.h:423
void SetupLogging()
Definition: mountpoint.cc:783
int fd_workspace_lock_
Definition: mountpoint.h:324
Log2Histogram * hist_fs_read()
Definition: mountpoint.h:187
void CreateStatistics()
Definition: mountpoint.cc:1391
CacheManager * SetupRamCacheMgr(const std::string &instance)
Definition: mountpoint.cc:644
static void LogSqliteError(void *user_data __attribute__((unused)), int sqlite_extended_error, const char *message)
Definition: mountpoint.cc:463
static const unsigned kNfsMaps
Definition: mountpoint.h:159
std::string workspace_
Definition: mountpoint.h:317
perf::Counter * n_fs_read()
Definition: mountpoint.h:195
PosixCacheSettings DeterminePosixCacheSettings(const std::string &instance)
Definition: mountpoint.cc:244
bool has_membership_req_
Definition: mountpoint.h:562
lru::Md5PathCache * md5path_cache()
Definition: mountpoint.h:432
void ReEvaluateAuthz()
Definition: mountpoint.cc:1705
std::set< std::string > constructed_instances_
Definition: mountpoint.h:352
bool has_membership_req()
Definition: mountpoint.h:424
bool DetermineRootHash(shash::Any *root_hash)
Definition: mountpoint.cc:1490
bool CreateCatalogManager()
Definition: mountpoint.cc:1202
glue::NentryTracker * nentry_tracker_
Definition: mountpoint.h:547
struct cvmcache_object_info __attribute__
Definition: atomic.h:24
void RemapCatalogFd(int from, int to)
Definition: mountpoint.cc:1050
static const unsigned kNfsNone
Definition: mountpoint.h:155
std::string path_crash_guard_
Definition: mountpoint.h:330
cvmfs::Uuid * uuid()
Definition: mountpoint.h:444
bool SetupWorkspace()
Definition: mountpoint.cc:973
static const char * kDefaultAuthzSearchPath
Definition: mountpoint.h:473
perf::Counter * n_fs_open()
Definition: mountpoint.h:194
Type type()
Definition: mountpoint.h:205
FileSystem(const FileSystemInfo &fs_info)
Definition: mountpoint.cc:343
std::string mountpoint_
Definition: mountpoint.h:342
std::string membership_req()
Definition: mountpoint.h:433
static const unsigned kDefaultMaxTtlSec
Definition: mountpoint.h:453
static const unsigned kLibPathCacheSize
Definition: mountpoint.h:461
std::string boot_error_
Definition: mountpoint.h:85
OptionsManager * options_mgr_
Definition: mountpoint.h:526
Log2Histogram * hist_fs_getattr_
Definition: mountpoint.h:302
Log2Histogram * hist_fs_releasedir_
Definition: mountpoint.h:305
Definition: tracer.h:35
perf::Counter * n_fs_readlink_
Definition: mountpoint.h:292
void SetMaxTtlMn(unsigned value_minutes)
Definition: mountpoint.cc:1715
static const unsigned kDefaultBackoffInitMs
Definition: mountpoint.h:483
perf::Counter * n_fs_forget_
Definition: mountpoint.h:293
MountPoint(const std::string &fqrn, FileSystem *file_system, OptionsManager *options_mgr)
Definition: mountpoint.cc:1619
Tracer * tracer_
Definition: mountpoint.h:545
std::string repository_tag()
Definition: mountpoint.h:436
catalog::ClientCatalogManager * catalog_mgr()
Definition: mountpoint.h:409
static bool g_alive
Definition: mountpoint.h:213
static const unsigned kDefaultNumConnections
Definition: mountpoint.h:477
void TearDown2ReadOnly()
Definition: mountpoint.cc:1037
Log2Histogram * hist_fs_forget_multi()
Definition: mountpoint.h:180
static const unsigned kNfsMapsHa
Definition: mountpoint.h:163
lru::Md5PathCache * md5path_cache_
Definition: mountpoint.h:544
std::string name_
Definition: mountpoint.h:276
Log2Histogram * hist_fs_release()
Definition: mountpoint.h:188
std::string membership_req_
Definition: mountpoint.h:561
perf::Counter * n_fs_read_
Definition: mountpoint.h:291
perf::Counter * no_open_dirs()
Definition: mountpoint.h:201
catalog::InodeAnnotation * inode_annotation()
Definition: mountpoint.h:426
static const char * kDefaultCacheMgrInstance
Definition: mountpoint.h:217
Log2Histogram * hist_fs_releasedir()
Definition: mountpoint.h:184
bool found_previous_crash_
Definition: mountpoint.h:336
loader::Failures boot_status_
Definition: mountpoint.h:84
bool TriageCacheMgr()
Definition: mountpoint.cc:1055
std::string boot_error()
Definition: mountpoint.h:75
lru::PathCache * path_cache()
Definition: mountpoint.h:435
glue::NentryTracker * nentry_tracker()
Definition: mountpoint.h:434
bool CheckPosixCacheSettings(const PosixCacheSettings &settings)
Definition: mountpoint.cc:104
bool IsNfsSource()
Definition: mountpoint.h:168
ChunkTables * chunk_tables_
Definition: mountpoint.h:540
CacheManager * cache_mgr()
Definition: mountpoint.h:174
file_watcher::FileWatcher * resolv_conf_watcher()
Definition: mountpoint.h:415
void SetupDnsTuning(download::DownloadManager *manager)
Definition: mountpoint.cc:1770
cvmfs::Uuid * uuid_cache_
Definition: mountpoint.h:363
unsigned GetEffectiveTtlSec()
Definition: mountpoint.cc:1592
perf::Counter * no_open_files()
Definition: mountpoint.h:202
AuthzSessionManager * authz_session_mgr()
Definition: mountpoint.h:407
static const unsigned kDefaultBackoffMaxMs
Definition: mountpoint.h:484
lru::InodeCache * inode_cache_
Definition: mountpoint.h:542
CacheManager * SetupPosixCacheMgr(const std::string &instance)
Definition: mountpoint.cc:614
download::DownloadManager * download_mgr()
Definition: mountpoint.h:411
perf::Counter * n_fs_open_
Definition: mountpoint.h:286
bool found_previous_crash()
Definition: mountpoint.h:177
bool SetupPosixQuotaMgr(const PosixCacheSettings &settings, CacheManager *cache_mgr)
Definition: mountpoint.cc:894
perf::Counter * n_fs_forget()
Definition: mountpoint.h:191
Log2Histogram * hist_fs_readlink()
Definition: mountpoint.h:182
unsigned nfs_mode_
Definition: mountpoint.h:357
Type type_
Definition: mountpoint.h:278
static const unsigned kInodeCacheFactor
Definition: mountpoint.h:465
perf::Counter * n_io_error_
Definition: mountpoint.h:294
Failures
Definition: loader.h:27
Log2Histogram * hist_fs_readdir_
Definition: mountpoint.h:306
cvmfs::Uuid * uuid_
Definition: mountpoint.h:518
ChunkTables * chunk_tables()
Definition: mountpoint.h:410
perf::Counter * n_fs_dir_open()
Definition: mountpoint.h:190
Log2Histogram * hist_fs_readdir()
Definition: mountpoint.h:185
BackoffThrottle * backoff_throttle_
Definition: mountpoint.h:532
AuthzAttachment * authz_attachment_
Definition: mountpoint.h:531
cvmfs::Fetcher * external_fetcher()
Definition: mountpoint.h:421
bool IsValid()
Definition: mountpoint.h:73
SimpleChunkTables * simple_chunk_tables_
Definition: mountpoint.h:541
bool enforce_acls()
Definition: mountpoint.h:425
static const unsigned kDefaultNfiles
Definition: mountpoint.h:216
static FileSystem * Create(const FileSystemInfo &fs_info)
Definition: mountpoint.cc:144
bool has_custom_sqlitevfs_
Definition: mountpoint.h:374
bool ReloadBlacklists()
Definition: mountpoint.cc:1115
std::string name()
Definition: mountpoint.h:199
void CreateStatistics()
Definition: mountpoint.cc:186
signature::SignatureManager * signature_mgr()
Definition: mountpoint.h:439
pthread_mutex_t lock_max_ttl_
Definition: mountpoint.h:553
Log2Histogram * hist_fs_open()
Definition: mountpoint.h:186
void CreateAuthz()
Definition: mountpoint.cc:1176
static const char * kDefaultCacheBase
Definition: mountpoint.h:214
Log2Histogram * hist_fs_lookup()
Definition: mountpoint.h:178
static const unsigned kTracerBufferSize
Definition: mountpoint.h:488
void SetupUuid()
Definition: mountpoint.cc:1022
catalog::ClientCatalogManager * catalog_mgr_
Definition: mountpoint.h:539
bool CreateSignatureManager()
Definition: mountpoint.cc:1355
std::string fqrn_
Definition: mountpoint.h:517
unsigned GetMaxTtlMn()
Definition: mountpoint.cc:1604
perf::Counter * n_fs_lookup()
Definition: mountpoint.h:192
bool SetupBehavior()
Definition: mountpoint.cc:1721
AuthzFetcher * authz_fetcher_
Definition: mountpoint.h:529
bool FetchHistory(std::string *history_path)
Definition: mountpoint.cc:1558
perf::Statistics * statistics()
Definition: mountpoint.h:204
bool enforce_acls_
Definition: mountpoint.h:556
bool IsHaNfsSource()
Definition: mountpoint.h:169
void CreateTables()
Definition: mountpoint.cc:1419
bool SetupCrashGuard()
Definition: mountpoint.cc:735
static const unsigned kDefaultQuotaLimit
Definition: mountpoint.h:215
void ResetErrorCounters()
Definition: mountpoint.cc:533
Log2Histogram * hist_fs_lookup_
Definition: mountpoint.h:299
static const unsigned kDefaultMemcacheSize
Definition: mountpoint.h:469
std::string repository_tag_
Definition: mountpoint.h:557
bool SetupOwnerMaps()
Definition: mountpoint.cc:1933
SimpleChunkTables * simple_chunk_tables()
Definition: mountpoint.h:437
bool CreateResolvConfWatcher()
Definition: mountpoint.cc:1315
perf::Counter * n_fs_lookup_negative()
Definition: mountpoint.h:193
Log2Histogram * hist_fs_read_
Definition: mountpoint.h:308
bool SetupNfsMaps()
Definition: mountpoint.cc:801
bool CheckBlacklists()
Definition: mountpoint.cc:1077
std::vector< std::string > blacklist_paths_
Definition: mountpoint.h:558
cvmfs::Fetcher * fetcher_
Definition: mountpoint.h:536
Log2Histogram * hist_fs_forget()
Definition: mountpoint.h:179
file_watcher::FileWatcher * resolv_conf_watcher_
Definition: mountpoint.h:550
bool SetupExternalDownloadMgr(bool dogeosort)
Definition: mountpoint.cc:1810
CacheManager * SetupExternalCacheMgr(const std::string &instance)
Definition: mountpoint.cc:575
perf::Counter * n_fs_lookup_negative_
Definition: mountpoint.h:289
Log2Histogram * hist_fs_open_
Definition: mountpoint.h:307
std::string cache_mgr_instance_
Definition: mountpoint.h:347
std::string path_workspace_lock_
Definition: mountpoint.h:325
Log2Histogram * hist_fs_release_
Definition: mountpoint.h:309
OptionsManager * options_mgr_
Definition: mountpoint.h:282
perf::Counter * no_open_dirs_
Definition: mountpoint.h:296
glue::InodeTracker * inode_tracker_
Definition: mountpoint.h:546
bool fixed_catalog_
Definition: mountpoint.h:555
BackoffThrottle * backoff_throttle()
Definition: mountpoint.h:408
Log2Histogram * hist_fs_getattr()
Definition: mountpoint.h:181
gid_t talk_socket_gid()
Definition: mountpoint.h:441
glue::InodeTracker * inode_tracker()
Definition: mountpoint.h:429
perf::Counter * n_fs_stat()
Definition: mountpoint.h:197
CacheManager * SetupTieredCacheMgr(const std::string &instance)
Definition: mountpoint.cc:694
FRIEND_TEST(T_MountPoint, MkCacheParm)
std::string workspace()
Definition: mountpoint.h:207
std::string cache_mgr_instance()
Definition: mountpoint.h:175
lru::PathCache * path_cache_
Definition: mountpoint.h:543
CacheManager * cache_mgr_
Definition: mountpoint.h:358
cvmfs::Uuid * uuid_cache()
Definition: mountpoint.h:206
Tracer * tracer()
Definition: mountpoint.h:443
cvmfs::Fetcher * external_fetcher_
Definition: mountpoint.h:537
perf::Counter * n_fs_dir_open_
Definition: mountpoint.h:287
std::string MkCacheParm(const std::string &generic_parameter, const std::string &instance)
Definition: mountpoint.cc:498
NfsMaps * nfs_maps_
Definition: mountpoint.h:369
download::DownloadManager * external_download_mgr()
Definition: mountpoint.h:412
void CreateFetchers()
Definition: mountpoint.cc:1338
static MountPoint * Create(const std::string &fqrn, FileSystem *file_system, OptionsManager *options_mgr=NULL)
Definition: mountpoint.cc:1136
Log2Histogram * hist_fs_forget_
Definition: mountpoint.h:300
OptionsManager * options_mgr
Definition: mountpoint.h:136