|
autotier
Automatic Tiering Fuse Filesystem
|
Keeping track of open files. More...
Functions | |
| void | register_open_file (const std::string &path) |
| Insert path into OpenFiles::open_files_. More... | |
| void | release_open_file (const std::string &path) |
| Erase path from OpenFiles::open_files_. More... | |
| bool | is_open (const std::string &path) |
| Return true if path is contained in OpenFiles::open_files_. More... | |
Variables | |
| std::mutex | open_files_mt_ |
| std::unordered_map< std::string, int > | open_files_ |
| Holds paths to all currently open files. | |
Keeping track of open files.
| bool OpenFiles::is_open | ( | const std::string & | path | ) |
| void OpenFiles::register_open_file | ( | const std::string & | path | ) |
Insert path into OpenFiles::open_files_.
| path |
| void OpenFiles::release_open_file | ( | const std::string & | path | ) |
Erase path from OpenFiles::open_files_.
| path |
1.8.17