CernVM-FS
2.12.0
|
#include <mountpoint.h>
Classes | |
struct | FileSystemInfo |
class | IoErrorInfo |
struct | PosixCacheSettings |
Public Types | |
enum | Type { kFsFuse = 0, kFsLibrary } |
Static Public Member Functions | |
static FileSystem * | Create (const FileSystemInfo &fs_info) |
static void | SetupLoggingStandalone (const OptionsManager &options_mgr, const std::string &prefix) |
Static Public Attributes | |
static const unsigned | kNfsNone = 0x00 |
static const unsigned | kNfsMaps = 0x01 |
static const unsigned | kNfsMapsHa = 0x02 |
Private Member Functions | |
FRIEND_TEST (T_MountPoint, MkCacheParm) | |
FRIEND_TEST (T_MountPoint, CacheSettings) | |
FRIEND_TEST (T_MountPoint, CheckInstanceName) | |
FRIEND_TEST (T_MountPoint, CheckPosixCacheSettings) | |
FileSystem (const FileSystemInfo &fs_info) | |
void | SetupLogging () |
void | CreateStatistics () |
void | SetupSqlite () |
bool | DetermineNfsMode () |
bool | SetupWorkspace () |
bool | SetupCwd () |
bool | LockWorkspace () |
bool | SetupCrashGuard () |
bool | SetupNfsMaps () |
void | SetupUuid () |
std::string | MkCacheParm (const std::string &generic_parameter, const std::string &instance) |
bool | CheckInstanceName (const std::string &instance) |
bool | TriageCacheMgr () |
CacheManager * | SetupCacheMgr (const std::string &instance) |
CacheManager * | SetupPosixCacheMgr (const std::string &instance) |
CacheManager * | SetupRamCacheMgr (const std::string &instance) |
CacheManager * | SetupTieredCacheMgr (const std::string &instance) |
CacheManager * | SetupExternalCacheMgr (const std::string &instance) |
PosixCacheSettings | DeterminePosixCacheSettings (const std::string &instance) |
bool | CheckPosixCacheSettings (const PosixCacheSettings &settings) |
bool | SetupPosixQuotaMgr (const PosixCacheSettings &settings, CacheManager *cache_mgr) |
Private Member Functions inherited from SingleCopy | |
SingleCopy () | |
Static Private Member Functions | |
static void | LogSqliteError (void *user_data __attribute__((unused)), int sqlite_extended_error, const char *message) |
static void | SetupGlobalEnvironmentParams () |
Static Private Attributes | |
static bool | g_alive = false |
static const char * | kDefaultCacheBase = "/var/lib/cvmfs" |
static const unsigned | kDefaultQuotaLimit = 1024 * 1024 * 1024 |
static const unsigned | kDefaultNfiles = 8192 |
static const char * | kDefaultCacheMgrInstance = "default" |
Additional Inherited Members | |
Protected Attributes inherited from BootFactory | |
loader::Failures | boot_status_ |
std::string | boot_error_ |
The FileSystem object initializes cvmfs' global state. It sets up sqlite and the cache directory and it can contain multiple mount points. It currently does so only for libcvmfs; the cvmfs fuse module has exactly one FileSystem object and one MountPoint object.
Definition at line 98 of file mountpoint.h.
enum FileSystem::Type |
Enumerator | |
---|---|
kFsFuse | |
kFsLibrary |
Definition at line 105 of file mountpoint.h.
FileSystem::~FileSystem | ( | ) |
|
explicitprivate |
Definition at line 402 of file mountpoint.cc.
Referenced by Create().
|
inline |
Definition at line 205 of file mountpoint.h.
Referenced by LibContext::Close(), MountPoint::Create(), MountPoint::CreateFetchers(), cvmfs::cvmfs_open(), cvmfs::cvmfs_read(), cvmfs::cvmfs_release(), cvmfs::cvmfs_statfs(), cvmfs::Evict(), LHashMagicXattr::FinalizeValue(), NCleanup24MagicXattr::FinalizeValue(), RepoMetainfoMagicXattr::FinalizeValue(), FreeSavedState(), TalkManager::MainResponder(), cvmfs::Pin(), LibContext::Pread(), RestoreState(), SaveState(), SetupExternalCacheMgr(), SetupPosixCacheMgr(), SetupRamCacheMgr(), and Spawn().
|
inline |
Definition at line 206 of file mountpoint.h.
|
private |
A cache instance name is part of a bash parameter and can only contain certain characters.
Definition at line 109 of file mountpoint.cc.
Referenced by TriageCacheMgr().
|
private |
Not all possible combinations of cache flags / modes are valid.
Definition at line 126 of file mountpoint.cc.
Referenced by SetupPosixCacheMgr().
|
static |
Creation of state and manager classes. The destructor should mirror this method.
Definition at line 166 of file mountpoint.cc.
Referenced by LibGlobals::Initialize(), and InitSystemFs().
|
private |
Definition at line 210 of file mountpoint.cc.
Referenced by Create().
|
private |
Definition at line 380 of file mountpoint.cc.
Referenced by Create().
|
private |
Figure out mode of operation and cache directory. Checking options for sanity is in a separate method.
Definition at line 296 of file mountpoint.cc.
Referenced by SetupPosixCacheMgr().
|
inline |
Definition at line 207 of file mountpoint.h.
|
inline |
Definition at line 208 of file mountpoint.h.
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 210 of file mountpoint.h.
Referenced by cvmfs::cvmfs_forget(), TalkManager::FormatLatencies(), and TalkManager::MainResponder().
|
inline |
Definition at line 211 of file mountpoint.h.
Referenced by TalkManager::FormatLatencies(), and TalkManager::MainResponder().
|
inline |
Definition at line 212 of file mountpoint.h.
Referenced by cvmfs::cvmfs_getattr(), TalkManager::FormatLatencies(), and TalkManager::MainResponder().
|
inline |
Definition at line 209 of file mountpoint.h.
Referenced by cvmfs::cvmfs_lookup(), TalkManager::FormatLatencies(), and TalkManager::MainResponder().
|
inline |
Definition at line 217 of file mountpoint.h.
Referenced by cvmfs::cvmfs_open(), TalkManager::FormatLatencies(), and TalkManager::MainResponder().
|
inline |
Definition at line 214 of file mountpoint.h.
Referenced by cvmfs::cvmfs_opendir(), TalkManager::FormatLatencies(), and TalkManager::MainResponder().
|
inline |
Definition at line 218 of file mountpoint.h.
Referenced by cvmfs::cvmfs_read(), TalkManager::FormatLatencies(), and TalkManager::MainResponder().
|
inline |
Definition at line 216 of file mountpoint.h.
Referenced by cvmfs::cvmfs_readdir(), TalkManager::FormatLatencies(), and TalkManager::MainResponder().
|
inline |
Definition at line 213 of file mountpoint.h.
Referenced by cvmfs::cvmfs_readlink(), TalkManager::FormatLatencies(), and TalkManager::MainResponder().
|
inline |
Definition at line 219 of file mountpoint.h.
Referenced by cvmfs::cvmfs_release(), TalkManager::FormatLatencies(), and TalkManager::MainResponder().
|
inline |
Definition at line 215 of file mountpoint.h.
Referenced by cvmfs::cvmfs_releasedir(), TalkManager::FormatLatencies(), and TalkManager::MainResponder().
|
inline |
Definition at line 233 of file mountpoint.h.
Referenced by cvmfs::cvmfs_open(), NIOErrMagicXattr::FinalizeValue(), LibContext::Open(), and FuseRemounter::SetOfflineMode().
|
inline |
Definition at line 196 of file mountpoint.h.
Referenced by SetupNfsMaps().
|
inline |
Definition at line 195 of file mountpoint.h.
Referenced by MountPoint::CreateTables(), cvmfs::cvmfs_forget(), cvmfs::cvmfs_lookup(), cvmfs::GetDirentForInode(), cvmfs::GetDirentForPath(), cvmfs::GetPathForInode(), TalkManager::MainResponder(), MountPoint::SetupInodeAnnotation(), and SetupNfsMaps().
|
private |
Definition at line 504 of file mountpoint.cc.
Referenced by SetupWorkspace().
|
staticprivate |
Definition at line 535 of file mountpoint.cc.
Referenced by SetupSqlite().
|
private |
Creates the cache parameter for a specific instance of the cache. Injects the instance name such that CVMFS_CACHE_FOO_BAR becomes CVMFS_CACHE_<INSTANCE>_FOO_BAR
Definition at line 570 of file mountpoint.cc.
Referenced by DeterminePosixCacheSettings(), FileSystem(), SetupCacheMgr(), SetupExternalCacheMgr(), SetupRamCacheMgr(), and SetupTieredCacheMgr().
|
inline |
Definition at line 239 of file mountpoint.h.
Referenced by cvmfs::cvmfs_lookup().
|
inline |
Definition at line 240 of file mountpoint.h.
Referenced by cvmfs::ReplyNegative().
|
inline |
Definition at line 241 of file mountpoint.h.
Referenced by cvmfs::cvmfs_opendir().
|
inline |
Definition at line 242 of file mountpoint.h.
Referenced by cvmfs::cvmfs_open().
|
inline |
Definition at line 243 of file mountpoint.h.
Referenced by cvmfs::cvmfs_read().
|
inline |
Definition at line 244 of file mountpoint.h.
Referenced by cvmfs::cvmfs_open().
|
inline |
Definition at line 245 of file mountpoint.h.
Referenced by cvmfs::cvmfs_read().
|
inline |
Definition at line 246 of file mountpoint.h.
Referenced by cvmfs::cvmfs_read().
|
inline |
Definition at line 238 of file mountpoint.h.
Referenced by cvmfs::cvmfs_lookup(), cvmfs::cvmfs_open(), cvmfs::cvmfs_opendir(), cvmfs::cvmfs_read(), and cvmfs::ReplyNegative().
|
inline |
Definition at line 247 of file mountpoint.h.
Referenced by cvmfs::cvmfs_open().
|
inline |
Definition at line 221 of file mountpoint.h.
Referenced by cvmfs::cvmfs_opendir().
|
inline |
Definition at line 222 of file mountpoint.h.
Referenced by cvmfs::cvmfs_forget().
|
inline |
Definition at line 223 of file mountpoint.h.
Referenced by cvmfs::cvmfs_lookup().
|
inline |
Definition at line 224 of file mountpoint.h.
Referenced by cvmfs::cvmfs_lookup().
|
inline |
Definition at line 225 of file mountpoint.h.
Referenced by cvmfs::cvmfs_lookup().
|
inline |
Definition at line 226 of file mountpoint.h.
Referenced by cvmfs::cvmfs_open(), and NOpenMagicXattr::FinalizeValue().
|
inline |
Definition at line 227 of file mountpoint.h.
Referenced by cvmfs::cvmfs_read().
|
inline |
Definition at line 228 of file mountpoint.h.
Referenced by cvmfs::cvmfs_readlink().
|
inline |
Definition at line 229 of file mountpoint.h.
Referenced by cvmfs::cvmfs_getattr().
|
inline |
Definition at line 230 of file mountpoint.h.
Referenced by cvmfs::cvmfs_getattr().
|
inline |
Definition at line 231 of file mountpoint.h.
Referenced by cvmfs::cvmfs_statfs().
|
inline |
Definition at line 232 of file mountpoint.h.
Referenced by cvmfs::cvmfs_statfs().
|
inline |
Definition at line 234 of file mountpoint.h.
Referenced by MountPoint::GetUniqFileSuffix().
|
inline |
Definition at line 235 of file mountpoint.h.
Referenced by cvmfs::GetDirentForInode(), cvmfs::GetDirentForPath(), cvmfs::GetPathForInode(), TalkManager::MainResponder(), and Spawn().
|
inline |
Definition at line 236 of file mountpoint.h.
Referenced by cvmfs::cvmfs_opendir(), cvmfs::cvmfs_releasedir(), and RestoreState().
|
inline |
Definition at line 237 of file mountpoint.h.
Referenced by cvmfs::cvmfs_open(), cvmfs::cvmfs_release(), cvmfs::IncAndCheckNoOpenFiles(), and RestoreState().
|
inline |
Definition at line 248 of file mountpoint.h.
Referenced by Create(), MountPoint::Create(), Init(), and TalkManager::MainResponder().
void FileSystem::RemapCatalogFd | ( | int | from, |
int | to | ||
) |
Definition at line 1150 of file mountpoint.cc.
Referenced by RestoreState().
void FileSystem::ReplaceCacheManager | ( | CacheManager * | new_cache_mgr | ) |
Definition at line 1154 of file mountpoint.cc.
Referenced by RestoreState().
void FileSystem::ResetErrorCounters | ( | ) |
Definition at line 605 of file mountpoint.cc.
Referenced by TalkManager::MainResponder().
|
private |
Can be recursive for the tiered cache manager.
Definition at line 623 of file mountpoint.cc.
Referenced by SetupTieredCacheMgr(), and TriageCacheMgr().
|
private |
Definition at line 817 of file mountpoint.cc.
Referenced by SetupWorkspace().
|
private |
Definition at line 838 of file mountpoint.cc.
Referenced by SetupWorkspace().
|
private |
Definition at line 657 of file mountpoint.cc.
Referenced by SetupCacheMgr().
|
staticprivate |
Environment variables useful, e.g., for variant symlinks
Definition at line 868 of file mountpoint.cc.
Referenced by Create(), and SetupLoggingStandalone().
|
private |
Definition at line 895 of file mountpoint.cc.
Referenced by Create().
|
static |
Definition at line 873 of file mountpoint.cc.
Referenced by Init(), and SetupLogging().
|
private |
Definition at line 900 of file mountpoint.cc.
Referenced by Create().
|
private |
Definition at line 696 of file mountpoint.cc.
Referenced by SetupCacheMgr().
|
private |
Definition at line 993 of file mountpoint.cc.
Referenced by SetupPosixCacheMgr().
|
private |
Definition at line 726 of file mountpoint.cc.
Referenced by SetupCacheMgr().
|
private |
Definition at line 1055 of file mountpoint.cc.
Referenced by Create().
|
private |
Definition at line 776 of file mountpoint.cc.
Referenced by SetupCacheMgr().
|
private |
Definition at line 1121 of file mountpoint.cc.
Referenced by Create().
|
private |
Definition at line 1072 of file mountpoint.cc.
Referenced by Create().
|
inline |
Definition at line 249 of file mountpoint.h.
Referenced by MountPoint::CreateStatistics().
void FileSystem::TearDown2ReadOnly | ( | ) |
Required by CernVM: the fuse module needs to free r/w file descriptor to the cache in order to properly unravel the file system stack on shutdown.
Definition at line 1136 of file mountpoint.cc.
Referenced by TalkManager::MainResponder().
|
private |
Definition at line 1160 of file mountpoint.cc.
Referenced by Create().
|
inline |
Definition at line 250 of file mountpoint.h.
Referenced by MountPoint::CreateStatistics(), MountPoint::CreateTables(), MountPoint::CreateTracer(), TalkManager::MainResponder(), and MountPoint::SetupInodeAnnotation().
|
inline |
Definition at line 251 of file mountpoint.h.
Referenced by MountPoint::CreateDownloadManagers().
|
inline |
Definition at line 252 of file mountpoint.h.
Referenced by MountPoint::CreateDownloadManagers(), and MountPoint::SetupExternalDownloadMgr().
|
private |
Definition at line 419 of file mountpoint.h.
Referenced by cache_mgr(), Create(), ReplaceCacheManager(), SetupNfsMaps(), TearDown2ReadOnly(), TriageCacheMgr(), and ~FileSystem().
|
private |
The user-provided name of the parimay cache manager or 'default' if none is specified.
Definition at line 408 of file mountpoint.h.
Referenced by cache_mgr_instance(), and TriageCacheMgr().
|
private |
Keep track of all the cache instances to detect circular definitions with the tiered cache.
Definition at line 413 of file mountpoint.h.
Referenced by SetupCacheMgr().
|
private |
Definition at line 324 of file mountpoint.h.
Referenced by exe_path(), and SetupPosixQuotaMgr().
|
private |
Definition at line 385 of file mountpoint.h.
Referenced by LockWorkspace(), and ~FileSystem().
|
private |
Definition at line 331 of file mountpoint.h.
Referenced by SetupPosixQuotaMgr().
|
private |
A crash guard was found, thus we assume the file system was not shutdown properly last time.
Definition at line 397 of file mountpoint.h.
Referenced by found_previous_crash(), SetupCrashGuard(), SetupNfsMaps(), and SetupPosixQuotaMgr().
|
staticprivate |
Only one instance may be alive at any given time
Definition at line 258 of file mountpoint.h.
Referenced by FileSystem(), and ~FileSystem().
|
private |
Used internally to remember if the Sqlite memory manager need to be shut down.
Definition at line 435 of file mountpoint.h.
Referenced by Create(), and ~FileSystem().
|
private |
Definition at line 361 of file mountpoint.h.
Referenced by CreateStatistics(), hist_fs_forget(), and ~FileSystem().
|
private |
Definition at line 362 of file mountpoint.h.
Referenced by CreateStatistics(), hist_fs_forget_multi(), and ~FileSystem().
|
private |
Definition at line 363 of file mountpoint.h.
Referenced by CreateStatistics(), hist_fs_getattr(), and ~FileSystem().
|
private |
Definition at line 360 of file mountpoint.h.
Referenced by CreateStatistics(), hist_fs_lookup(), and ~FileSystem().
|
private |
Definition at line 368 of file mountpoint.h.
Referenced by CreateStatistics(), hist_fs_open(), and ~FileSystem().
|
private |
Definition at line 365 of file mountpoint.h.
Referenced by CreateStatistics(), hist_fs_opendir(), and ~FileSystem().
|
private |
Definition at line 369 of file mountpoint.h.
Referenced by CreateStatistics(), hist_fs_read(), and ~FileSystem().
|
private |
Definition at line 367 of file mountpoint.h.
Referenced by CreateStatistics(), hist_fs_readdir(), and ~FileSystem().
|
private |
Definition at line 364 of file mountpoint.h.
Referenced by CreateStatistics(), hist_fs_readlink(), and ~FileSystem().
|
private |
Definition at line 370 of file mountpoint.h.
Referenced by CreateStatistics(), hist_fs_release(), and ~FileSystem().
|
private |
Definition at line 366 of file mountpoint.h.
Referenced by CreateStatistics(), hist_fs_releasedir(), and ~FileSystem().
|
private |
Definition at line 357 of file mountpoint.h.
Referenced by CreateStatistics(), io_error_info(), and ResetErrorCounters().
|
staticprivate |
Definition at line 259 of file mountpoint.h.
Referenced by DeterminePosixCacheSettings(), and SetupWorkspace().
|
staticprivate |
Definition at line 262 of file mountpoint.h.
Referenced by FileSystem(), MkCacheParm(), SetupCacheMgr(), and TriageCacheMgr().
|
staticprivate |
Definition at line 261 of file mountpoint.h.
Referenced by SetupExternalCacheMgr(), SetupRamCacheMgr(), and TriageCacheMgr().
|
staticprivate |
Definition at line 260 of file mountpoint.h.
Referenced by DeterminePosixCacheSettings().
|
static |
Normal NFS maps by leveldb
Definition at line 182 of file mountpoint.h.
Referenced by DetermineNfsMode(), and IsNfsSource().
|
static |
NFS maps maintained by sqlite so that they can reside on an NFS mount
Definition at line 186 of file mountpoint.h.
Referenced by DetermineNfsMode(), and IsHaNfsSource().
|
static |
|
private |
Only needed for fuse to detect and prevent double mounting at the same location.
Definition at line 403 of file mountpoint.h.
|
private |
Definition at line 348 of file mountpoint.h.
Referenced by CreateStatistics(), n_eio_01(), and ResetErrorCounters().
|
private |
Definition at line 349 of file mountpoint.h.
Referenced by CreateStatistics(), n_eio_02(), and ResetErrorCounters().
|
private |
Definition at line 350 of file mountpoint.h.
Referenced by CreateStatistics(), n_eio_03(), and ResetErrorCounters().
|
private |
Definition at line 351 of file mountpoint.h.
Referenced by CreateStatistics(), n_eio_04(), and ResetErrorCounters().
|
private |
Definition at line 352 of file mountpoint.h.
Referenced by CreateStatistics(), n_eio_05(), and ResetErrorCounters().
|
private |
Definition at line 353 of file mountpoint.h.
Referenced by CreateStatistics(), n_eio_06(), and ResetErrorCounters().
|
private |
Definition at line 354 of file mountpoint.h.
Referenced by CreateStatistics(), n_eio_07(), and ResetErrorCounters().
|
private |
Definition at line 355 of file mountpoint.h.
Referenced by CreateStatistics(), n_eio_08(), and ResetErrorCounters().
|
private |
Definition at line 347 of file mountpoint.h.
Referenced by CreateStatistics(), n_eio_total(), and ResetErrorCounters().
|
private |
Definition at line 356 of file mountpoint.h.
Referenced by CreateStatistics(), n_emfile(), and ResetErrorCounters().
|
private |
Definition at line 334 of file mountpoint.h.
Referenced by CreateStatistics(), and n_fs_dir_open().
|
private |
Definition at line 343 of file mountpoint.h.
Referenced by CreateStatistics(), and n_fs_forget().
|
private |
Definition at line 344 of file mountpoint.h.
Referenced by CreateStatistics(), and n_fs_inode_replace().
|
private |
Definition at line 335 of file mountpoint.h.
Referenced by CreateStatistics(), and n_fs_lookup().
|
private |
Definition at line 336 of file mountpoint.h.
Referenced by CreateStatistics(), and n_fs_lookup_negative().
|
private |
Definition at line 333 of file mountpoint.h.
Referenced by CreateStatistics(), and n_fs_open().
|
private |
Definition at line 341 of file mountpoint.h.
Referenced by CreateStatistics(), and n_fs_read().
|
private |
Definition at line 342 of file mountpoint.h.
Referenced by CreateStatistics(), and n_fs_readlink().
|
private |
Definition at line 337 of file mountpoint.h.
Referenced by CreateStatistics(), and n_fs_stat().
|
private |
Definition at line 338 of file mountpoint.h.
Referenced by CreateStatistics(), and n_fs_stat_stale().
|
private |
Definition at line 339 of file mountpoint.h.
Referenced by CreateStatistics(), and n_fs_statfs().
|
private |
Definition at line 340 of file mountpoint.h.
Referenced by CreateStatistics(), and n_fs_statfs_cached().
|
private |
Definition at line 323 of file mountpoint.h.
Referenced by DeterminePosixCacheSettings(), LockWorkspace(), name(), SetupCrashGuard(), SetupExternalCacheMgr(), SetupLogging(), SetupNfsMaps(), and SetupWorkspace().
|
private |
TODO(jblomer): Move to MountPoint. Tricky because of the sqlite maps and the sqlite configuration done for the file catalogs.
Definition at line 430 of file mountpoint.h.
Referenced by nfs_maps(), SetupNfsMaps(), and ~FileSystem().
|
private |
Definition at line 414 of file mountpoint.h.
Referenced by DetermineNfsMode(), and SetupNfsMaps().
|
private |
Combination of kNfs... flags
Definition at line 418 of file mountpoint.h.
Referenced by DetermineNfsMode(), IsHaNfsSource(), and IsNfsSource().
|
private |
Definition at line 346 of file mountpoint.h.
Referenced by CreateStatistics(), and no_open_dirs().
|
private |
Definition at line 345 of file mountpoint.h.
Referenced by CreateStatistics(), and no_open_files().
|
private |
Not owned by the FileSystem object
Definition at line 329 of file mountpoint.h.
Referenced by CreateStatistics(), DetermineNfsMode(), DeterminePosixCacheSettings(), FileSystem(), MkCacheParm(), options_mgr(), SetupCacheMgr(), SetupExternalCacheMgr(), SetupLogging(), SetupNfsMaps(), SetupRamCacheMgr(), SetupTieredCacheMgr(), SetupWorkspace(), and TriageCacheMgr().
|
private |
An empty file that is removed on proper shutdown.
Definition at line 391 of file mountpoint.h.
Referenced by SetupCrashGuard(), TearDown2ReadOnly(), and ~FileSystem().
|
private |
Definition at line 386 of file mountpoint.h.
Referenced by LockWorkspace(), and ~FileSystem().
|
private |
Definition at line 358 of file mountpoint.h.
Referenced by Create(), CreateStatistics(), SetupNfsMaps(), SetupRamCacheMgr(), statistics(), TriageCacheMgr(), and ~FileSystem().
|
private |
Definition at line 325 of file mountpoint.h.
Referenced by CheckPosixCacheSettings(), DetermineNfsMode(), DeterminePosixCacheSettings(), SetupCwd(), and type().
|
private |
Persistent for the cache directory + name combination. It is used in the Geo-API to allow for per-client responses when no proxy is used.
Definition at line 424 of file mountpoint.h.
Referenced by SetupUuid(), uuid_cache(), and ~FileSystem().
|
private |
Definition at line 330 of file mountpoint.h.
Referenced by LockWorkspace().
|
private |
A writeable local directory. Only small amounts of data (few bytes) will be stored here. Needed because the cache can be read-only. The workspace and the cache directory can be identical. A workspace can be shared among FileSystem instances if their name is different.
Definition at line 378 of file mountpoint.h.
Referenced by Create(), LockWorkspace(), SetupCrashGuard(), SetupCwd(), SetupNfsMaps(), SetupUuid(), SetupWorkspace(), and workspace().
|
private |
During setup, the fuse module changes its working directory to workspace. Afterwards, workspace_ is ".". Store the original one in workspace_fullpath_
Definition at line 384 of file mountpoint.h.
Referenced by DeterminePosixCacheSettings(), and SetupWorkspace().