CernVM-FS
2.12.0
|
#include "data_dir_mgmt.h"
#include <errno.h>
#include <stdio.h>
#include "helpers.h"
#include "shrinkwrap/fs_traversal_interface.h"
#include "util/posix.h"
Go to the source code of this file.
Functions | |
void | PosixCheckDirStructure (std::string cur_path, mode_t mode, unsigned depth=1) |
void | InitializeDataDirectory (struct fs_traversal_context *ctx) |
void InitializeDataDirectory | ( | struct fs_traversal_context * | ctx | ) |
This file is part of the CernVM File System. The functions in this file handle the management of the .data directory structure in the POSIX File System Traversal interface.
The .data directory structure contains (meta)content-adressable links to all inodes of the exported file system. This is used for deduplication. Method which initializes the .data directory with all subdirectories. Depending on kDirLevels and kDigitsPerDirLevel (defined in helpers.h) this process might be very slow.
Definition at line 61 of file data_dir_mgmt.cc.
Referenced by InitialFsOperations().
void PosixCheckDirStructure | ( | std::string | cur_path, |
mode_t | mode, | ||
unsigned | depth = 1 |
||
) |
This file is part of the CernVM File System. Method which recursively creates the .data subdirectories
Definition at line 16 of file data_dir_mgmt.cc.
Referenced by InitializeDataDirectory().