|
autotier
Automatic Tiering Fuse Filesystem
|
Local namespace. More...
Namespaces | |
| rocksdb | |
| rocksdb namespace inside l:: namespace to hold mutex | |
Classes | |
| class | PathSliceTransform |
| Used to make rocksdb lookups faster, groups keys by first dir in path. More... | |
Functions | |
| int | is_directory (const fs::path &relative_path) |
| Test if path is a directory. More... | |
| Tier * | fullpath_to_tier (fs::path fullpath) |
| Find tier containing full path. More... | |
| intmax_t | file_size (int fd) |
| Get size of file from file descriptor. More... | |
| intmax_t | file_size (const fs::path &path) |
| Get size of file from path. More... | |
| void | update_keys_in_directory (std::string old_directory, std::string new_directory, std::shared_ptr<::rocksdb::DB > db) |
| Iterate through RocksDB database, updating all paths after old_directory to new_directory for when a directory is moved. More... | |
| int | find_max_width (const std::vector< std::string > &names) |
| const PathSliceTransform * | NewPathSliceTransform () |
| Construct new PathSliceTransform on heap and return pointer. More... | |
Local namespace.
| intmax_t l::file_size | ( | const fs::path & | path | ) |
Get size of file from path.
| path | File path to check |
| intmax_t l::file_size | ( | int | fd | ) |
Get size of file from file descriptor.
| fd | File descriptor to check |
| Tier * l::fullpath_to_tier | ( | fs::path | fullpath | ) |
Find tier containing full path.
| fullpath | Full path to test |
| int l::is_directory | ( | const fs::path & | relative_path | ) |
Test if path is a directory.
| relative_path | Relative path to test |
| const l::PathSliceTransform * l::NewPathSliceTransform | ( | ) |
Construct new PathSliceTransform on heap and return pointer.
| void l::update_keys_in_directory | ( | std::string | old_directory, |
| std::string | new_directory, | ||
| std::shared_ptr<::rocksdb::DB > | db | ||
| ) |
Iterate through RocksDB database, updating all paths after old_directory to new_directory for when a directory is moved.
| old_directory | Old path name |
| new_directory | New path name |
| db | RocksDB database to modify |
1.8.17