CernVM-FS
2.12.0
|
Namespaces | |
loader_talk | |
Classes | |
struct | CvmfsOptions |
struct | SavedState |
struct | LoadEvent |
struct | LoaderExports |
struct | CvmfsExports |
Typedefs | |
typedef std::vector< SavedState * > | StateList |
typedef std::vector< LoadEvent * > | EventList |
Functions | |
static void | Usage (const string &exename) |
bool | CheckPremounted (const std::string &mountpoint) |
static void | stub_init (void *userdata, struct fuse_conn_info *conn) |
static void | stub_destroy (void *userdata) |
static void | stub_lookup (fuse_req_t req, fuse_ino_t parent, const char *name) |
static void | stub_getattr (fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) |
static void | stub_readlink (fuse_req_t req, fuse_ino_t ino) |
static void | stub_opendir (fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) |
static void | stub_releasedir (fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) |
static void | stub_readdir (fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, struct fuse_file_info *fi) |
static void | stub_open (fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) |
static void | stub_read (fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, struct fuse_file_info *fi) |
static void | stub_release (fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) |
static void | stub_statfs (fuse_req_t req, fuse_ino_t ino) |
static void | stub_getxattr (fuse_req_t req, fuse_ino_t ino, const char *name, size_t size) |
static void | stub_listxattr (fuse_req_t req, fuse_ino_t ino, size_t size) |
static void | stub_forget (fuse_req_t req, fuse_ino_t ino, uint64_t nlookup) |
static int | ParseFuseOptions (void *data __attribute__((unused)), const char *arg, int key, struct fuse_args *outargs) |
static fuse_args * | ParseCmdLine (int argc, char *argv[]) |
static void | SetFuseOperations (struct fuse_lowlevel_ops *loader_operations) |
static void * | OpenLibrary (const string &path) |
static void | CloseLibrary () |
static CvmfsExports * | LoadLibrary (const bool debug_mode, LoaderExports *loader_exports) |
Failures | Reload (const int fd_progress, const bool stop_and_go, const ReloadMode reload_mode) |
const char * | Code2Ascii (const Failures error) |
Variables | |
static struct fuse_opt | cvmfs_array_opts [] |
string * | repository_name_ = NULL |
string * | mount_point_ = NULL |
string * | config_files_ = NULL |
string * | socket_path_ = NULL |
string * | usyslog_path_ = NULL |
int | fuse3_max_threads_ = 0 |
int | fuse3_idle_threads_ = 0 |
uid_t | uid_ = 0 |
gid_t | gid_ = 0 |
bool | single_threaded_ = false |
bool | foreground_ = false |
bool | debug_mode_ = false |
bool | system_mount_ = false |
bool | grab_mountpoint_ = false |
bool | parse_options_only_ = false |
bool | suid_mode_ = false |
bool | premounted_ = false |
bool | disable_watchdog_ = false |
bool | simple_options_parsing_ = false |
void * | library_handle_ |
Fence * | fence_reload_ |
CvmfsExports * | cvmfs_exports_ |
LoaderExports * | loader_exports_ |
This file is part of the CernVM File System.
typedef std::vector<LoadEvent *> loader::EventList |
typedef std::vector<SavedState *> loader::StateList |
anonymous enum |
enum loader::Failures |
Possible failures when booting/mounting cvmfs. Remember to add a constant to libcvmfs.h and libcvmfs_legacy.cc when a constant to this enum is added.
enum loader::ReloadMode |
enum loader::StateId |
bool loader::CheckPremounted | ( | const std::string & | mountpoint | ) |
For an premounted mountpoint, the argument is the file descriptor to /dev/fuse provided in the form /dev/fd/d
Definition at line 188 of file loader.cc.
Referenced by ParseFuseOptions().
|
static |
Definition at line 469 of file loader.cc.
Referenced by FuseMain(), and Reload().
|
inline |
|
static |
Definition at line 483 of file loader.cc.
Referenced by FuseMain(), and Reload().
|
static |
Definition at line 464 of file loader.cc.
Referenced by LoadLibrary().
|
static |
Definition at line 405 of file loader.cc.
Referenced by FuseMain().
|
static |
The callback used when fuse is parsing all the options We separate CVMFS options from FUSE options here.
Definition at line 346 of file loader.cc.
Referenced by ParseCmdLine().
Failures loader::Reload | ( | const int | fd_progress, |
const bool | stop_and_go, | ||
const ReloadMode | reload_mode | ||
) |
Definition at line 546 of file loader.cc.
Referenced by loader::loader_talk::MainTalk().
|
static |
Definition at line 442 of file loader.cc.
Referenced by FuseMain().
|
static |
Definition at line 209 of file loader.cc.
Referenced by SetFuseOperations().
|
static |
Definition at line 314 of file loader.cc.
Referenced by SetFuseOperations().
|
static |
Definition at line 223 of file loader.cc.
Referenced by SetFuseOperations().
|
static |
Definition at line 295 of file loader.cc.
Referenced by SetFuseOperations().
|
static |
Definition at line 203 of file loader.cc.
Referenced by SetFuseOperations().
|
static |
Definition at line 308 of file loader.cc.
Referenced by SetFuseOperations().
|
static |
Definition at line 215 of file loader.cc.
Referenced by SetFuseOperations().
|
static |
Definition at line 261 of file loader.cc.
Referenced by SetFuseOperations().
|
static |
Definition at line 237 of file loader.cc.
Referenced by SetFuseOperations().
|
static |
Definition at line 269 of file loader.cc.
Referenced by SetFuseOperations().
|
static |
Definition at line 253 of file loader.cc.
Referenced by SetFuseOperations().
|
static |
Definition at line 231 of file loader.cc.
Referenced by SetFuseOperations().
|
static |
Definition at line 277 of file loader.cc.
Referenced by SetFuseOperations().
|
static |
Definition at line 245 of file loader.cc.
Referenced by SetFuseOperations().
|
static |
Definition at line 285 of file loader.cc.
Referenced by SetFuseOperations().
|
static |
string* loader::config_files_ = NULL |
Definition at line 127 of file loader.cc.
Referenced by FuseMain(), and ParseCmdLine().
|
static |
Definition at line 90 of file loader.cc.
Referenced by ParseCmdLine(), and ParseFuseOptions().
CvmfsExports* loader::cvmfs_exports_ |
Definition at line 146 of file loader.cc.
Referenced by FuseMain(), Reload(), stub_destroy(), stub_forget(), stub_getattr(), stub_getxattr(), stub_init(), stub_listxattr(), stub_lookup(), stub_open(), stub_opendir(), stub_read(), stub_readdir(), stub_readlink(), stub_release(), stub_releasedir(), and stub_statfs().
bool loader::debug_mode_ = false |
Definition at line 136 of file loader.cc.
Referenced by FuseMain(), ParseFuseOptions(), and Reload().
bool loader::disable_watchdog_ = false |
Definition at line 142 of file loader.cc.
Referenced by FuseMain(), and ParseCmdLine().
Fence* loader::fence_reload_ |
Definition at line 145 of file loader.cc.
Referenced by FuseMain(), Reload(), stub_destroy(), stub_forget(), stub_getattr(), stub_getxattr(), stub_init(), stub_listxattr(), stub_lookup(), stub_open(), stub_opendir(), stub_read(), stub_readdir(), stub_readlink(), stub_release(), stub_releasedir(), and stub_statfs().
bool loader::foreground_ = false |
Definition at line 135 of file loader.cc.
Referenced by FuseMain(), ParseCmdLine(), and ParseFuseOptions().
int loader::fuse3_idle_threads_ = 0 |
Definition at line 131 of file loader.cc.
Referenced by FuseMain().
int loader::fuse3_max_threads_ = 0 |
Definition at line 130 of file loader.cc.
Referenced by FuseMain().
gid_t loader::gid_ = 0 |
Definition at line 133 of file loader.cc.
Referenced by FuseMain(), and ParseCmdLine().
bool loader::grab_mountpoint_ = false |
Definition at line 138 of file loader.cc.
Referenced by FuseMain(), and ParseCmdLine().
void* loader::library_handle_ |
Definition at line 144 of file loader.cc.
Referenced by CloseLibrary(), and LoadLibrary().
LoaderExports* loader::loader_exports_ |
bool loader::parse_options_only_ = false |
Definition at line 139 of file loader.cc.
Referenced by FuseMain(), and ParseFuseOptions().
bool loader::premounted_ = false |
Definition at line 141 of file loader.cc.
Referenced by FuseMain(), and ParseFuseOptions().
string* loader::repository_name_ = NULL |
Definition at line 125 of file loader.cc.
Referenced by FuseMain(), ParseCmdLine(), and ParseFuseOptions().
bool loader::simple_options_parsing_ = false |
Definition at line 143 of file loader.cc.
Referenced by FuseMain(), and ParseCmdLine().
bool loader::single_threaded_ = false |
Definition at line 134 of file loader.cc.
Referenced by FuseMain(), and ParseFuseOptions().
string* loader::socket_path_ = NULL |
Definition at line 128 of file loader.cc.
Referenced by loader::loader_talk::Fini(), FuseMain(), loader::loader_talk::Init(), and Reload().
bool loader::suid_mode_ = false |
Definition at line 140 of file loader.cc.
Referenced by FuseMain(), and ParseCmdLine().
bool loader::system_mount_ = false |
Definition at line 137 of file loader.cc.
Referenced by FuseMain(), and ParseCmdLine().
uid_t loader::uid_ = 0 |
Definition at line 132 of file loader.cc.
Referenced by FuseMain(), and ParseCmdLine().
std::string * loader::usyslog_path_ = NULL |
Definition at line 129 of file loader.cc.
Referenced by FuseMain(), and loader::loader_talk::MainTalk().