|
@ -35,6 +35,12 @@ |
|
|
#include <string>
|
|
|
#include <string>
|
|
|
#include <vector>
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
|
|
|
|
struct PT |
|
|
|
|
|
{ |
|
|
|
|
|
int backing_id; |
|
|
|
|
|
std::mutex mutex; |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
static boost::unordered::concurrent_flat_map<std::string,int> pt; |
|
|
static boost::unordered::concurrent_flat_map<std::string,int> pt; |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -328,6 +334,7 @@ namespace FUSE |
|
|
open(const char *fusepath_, |
|
|
open(const char *fusepath_, |
|
|
fuse_file_info_t *ffi_) |
|
|
fuse_file_info_t *ffi_) |
|
|
{ |
|
|
{ |
|
|
|
|
|
pt.try_emplace_or_visit(fusepath_, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|